exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Get the number of the resource .Description Get the number of the resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs System.Collections.IDictionary .Outputs System.Int32 .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementhealthoverviewcount #> function Get-MgServiceAnnouncementHealthOverviewCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the number of the resource .Description Get the number of the resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Int32 .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementhealthoverviewissuecount #> function Get-MgServiceAnnouncementHealthOverviewIssueCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewIssueCount_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewIssueCount_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis A collection of issues that happened on the service, with detailed information for each issue. .Description A collection of issues that happened on the service, with detailed information for each issue. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementhealthoverviewissue #> function Get-MgServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewIssue_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewIssue_GetViaIdentity'; List = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverviewIssue_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. .Description Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ExpandProperty "issues" .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementhealthoverview .Link https://learn.microsoft.com/graph/api/servicehealth-get?view=graph-rest-1.0 .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-healthoverviews?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverview_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverview_GetViaIdentity'; List = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementHealthOverview_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the number of the resource .Description Get the number of the resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs System.Collections.IDictionary .Outputs System.Int32 .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementissuecount #> function Get-MgServiceAnnouncementIssueCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementIssueCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. .Description Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementissue .Link https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-1.0 .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-issues?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementIssue_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementIssue_GetViaIdentity'; List = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementIssue_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the list of attachments associated with a service message. .Description Get the list of attachments associated with a service message. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessageattachmentarchive .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentArchive_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentArchive_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Read the properties and relationships of a serviceAnnouncementAttachment object. .Description Read the properties and relationships of a serviceAnnouncementAttachment object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessageattachmentcontent .Link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentContent_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentContent_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the number of the resource .Description Get the number of the resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Int32 .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessageattachmentcount #> function Get-MgServiceAnnouncementMessageAttachmentCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentCount_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachmentCount_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Read the properties and relationships of a serviceAnnouncementAttachment object. .Description Read the properties and relationships of a serviceAnnouncementAttachment object. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessageattachment .Link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachment_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachment_GetViaIdentity'; List = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageAttachment_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the number of the resource .Description Get the number of the resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs System.Collections.IDictionary .Outputs System.Int32 .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessagecount #> function Get-MgServiceAnnouncementMessageCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessageCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. .Description Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/get-mgserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-1.0 .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-1.0 #> function Get-MgServiceAnnouncementMessage { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessage_Get'; GetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessage_GetViaIdentity'; List = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Get-MgServiceAnnouncementMessage_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Archive a list of serviceUpdateMessages for the signed in user. .Description Archive a list of serviceUpdateMessages for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgArchiveServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPaths19OsejwAdminServiceannouncementMessagesMicrosoftGraphArchivePostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IPaths19OsejwAdminServiceannouncementMessagesMicrosoftGraphArchivePostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgarchiveserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-1.0 #> function Invoke-MgArchiveServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='ArchiveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Archive', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths19OsejwAdminServiceannouncementMessagesMicrosoftGraphArchivePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='ArchiveExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='ArchiveExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Archive = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgArchiveServiceAnnouncementMessage_Archive'; ArchiveExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgArchiveServiceAnnouncementMessage_ArchiveExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Change the status of a list of serviceUpdateMessages to favorite for the signed in user. .Description Change the status of a list of serviceUpdateMessages to favorite for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgFavoriteServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPaths1Hqlbr0AdminServiceannouncementMessagesMicrosoftGraphFavoritePostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODY <IPaths1Hqlbr0AdminServiceannouncementMessagesMicrosoftGraphFavoritePostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgfavoriteserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-1.0 #> function Invoke-MgFavoriteServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='FavoriteExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Favorite', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths1Hqlbr0AdminServiceannouncementMessagesMicrosoftGraphFavoritePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='FavoriteExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='FavoriteExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Favorite = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgFavoriteServiceAnnouncementMessage_Favorite'; FavoriteExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgFavoriteServiceAnnouncementMessage_FavoriteExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Mark a list of serviceUpdateMessages as read for the signed in user. .Description Mark a list of serviceUpdateMessages as read for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgMarkServiceAnnouncementMessageRead -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPaths9Q4ErzAdminServiceannouncementMessagesMicrosoftGraphMarkreadPostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IPaths9Q4ErzAdminServiceannouncementMessagesMicrosoftGraphMarkreadPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgmarkserviceannouncementmessageread .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0 #> function Invoke-MgMarkServiceAnnouncementMessageRead { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='MarkExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Mark', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths9Q4ErzAdminServiceannouncementMessagesMicrosoftGraphMarkreadPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='MarkExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='MarkExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Mark = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgMarkServiceAnnouncementMessageRead_Mark'; MarkExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgMarkServiceAnnouncementMessageRead_MarkExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Mark a list of serviceUpdateMessages as unread for the signed in user. .Description Mark a list of serviceUpdateMessages as unread for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgMarkServiceAnnouncementMessageUnread -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPathsX0Td2HAdminServiceannouncementMessagesMicrosoftGraphMarkunreadPostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IPathsX0Td2HAdminServiceannouncementMessagesMicrosoftGraphMarkunreadPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgmarkserviceannouncementmessageunread .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0 #> function Invoke-MgMarkServiceAnnouncementMessageUnread { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='MarkExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Mark', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPathsX0Td2HAdminServiceannouncementMessagesMicrosoftGraphMarkunreadPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='MarkExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='MarkExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Mark = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgMarkServiceAnnouncementMessageUnread_Mark'; MarkExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgMarkServiceAnnouncementMessageUnread_MarkExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. .Description Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgreportserviceannouncementhealthoverviewissueincident #> function Invoke-MgReportServiceAnnouncementHealthOverviewIssueIncident { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Report', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='ReportViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Report = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgReportServiceAnnouncementHealthOverviewIssueIncident_Report'; ReportViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgReportServiceAnnouncementHealthOverviewIssueIncident_ReportViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. .Description Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgreportserviceannouncementissueincident .Link https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0 #> function Invoke-MgReportServiceAnnouncementIssueIncident { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Report', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='ReportViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Report = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgReportServiceAnnouncementIssueIncident_Report'; ReportViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgReportServiceAnnouncementIssueIncident_ReportViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Unarchive a list of serviceUpdateMessages for the signed in user. .Description Unarchive a list of serviceUpdateMessages for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgUnarchiveServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPathsYkfdhbAdminServiceannouncementMessagesMicrosoftGraphUnarchivePostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IPathsYkfdhbAdminServiceannouncementMessagesMicrosoftGraphUnarchivePostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgunarchiveserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-1.0 #> function Invoke-MgUnarchiveServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UnarchiveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unarchive', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPathsYkfdhbAdminServiceannouncementMessagesMicrosoftGraphUnarchivePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UnarchiveExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UnarchiveExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Unarchive = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgUnarchiveServiceAnnouncementMessage_Unarchive'; UnarchiveExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgUnarchiveServiceAnnouncementMessage_UnarchiveExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Remove the favorite status of serviceUpdateMessages for the signed in user. .Description Remove the favorite status of serviceUpdateMessages for the signed in user. .Example Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgUnfavoriteServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.PowerShell.Models.IPaths1U36FhAdminServiceannouncementMessagesMicrosoftGraphUnfavoritePostRequestbodyContentApplicationJsonSchema .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODY <IPaths1U36FhAdminServiceannouncementMessagesMicrosoftGraphUnfavoritePostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [MessageIds <String[]>]: .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/invoke-mgunfavoriteserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-1.0 #> function Invoke-MgUnfavoriteServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UnfavoriteExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unfavorite', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths1U36FhAdminServiceannouncementMessagesMicrosoftGraphUnfavoritePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UnfavoriteExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UnfavoriteExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Unfavorite = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgUnfavoriteServiceAnnouncementMessage_Unfavorite'; UnfavoriteExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Invoke-MgUnfavoriteServiceAnnouncementMessage_UnfavoriteExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create new navigation property to issues for admin .Description Create new navigation property to issues for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealthIssue>: serviceHealthIssue [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage POSTS <IMicrosoftGraphServiceHealthIssuePost[]>: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/new-mgserviceannouncementhealthoverviewissue #> function New-MgServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssuePost[]] # Collection of historical posts for the service issue. # To construct, see NOTES section for POSTS properties and create a hash table. ${Posts}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverviewIssue_Create'; CreateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverviewIssue_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverviewIssue_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverviewIssue_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create new navigation property to healthOverviews for admin .Description Create new navigation property to healthOverviews for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealth>: serviceHealth [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Issues <IMicrosoftGraphServiceHealthIssue[]>]: A collection of issues that happened on the service, with detailed information for each issue. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus [Service <String>]: The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. [Status <String>]: serviceHealthStatus ISSUES <IMicrosoftGraphServiceHealthIssue[]>: A collection of issues that happened on the service, with detailed information for each issue. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/new-mgserviceannouncementhealthoverview #> function New-MgServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth] # serviceHealth # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue[]] # A collection of issues that happened on the service, with detailed information for each issue. # To construct, see NOTES section for ISSUES properties and create a hash table. ${Issues}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The service name. # Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. ${Service}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverview_Create'; CreateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementHealthOverview_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create new navigation property to issues for admin .Description Create new navigation property to issues for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealthIssue>: serviceHealthIssue [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair POSTS <IMicrosoftGraphServiceHealthIssuePost[]>: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/new-mgserviceannouncementissue #> function New-MgServiceAnnouncementIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssuePost[]] # Collection of historical posts for the service issue. # To construct, see NOTES section for POSTS properties and create a hash table. ${Posts}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementIssue_Create'; CreateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementIssue_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create new navigation property to attachments for admin .Description Create new navigation property to attachments for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceAnnouncementAttachment>: serviceAnnouncementAttachment [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/new-mgserviceannouncementmessageattachment #> function New-MgServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment] # serviceAnnouncementAttachment # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Input File for Content (The attachment content.) ${ContentInputFile}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ContentType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${Size}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessageAttachment_Create'; CreateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessageAttachment_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessageAttachment_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessageAttachment_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create new navigation property to messages for admin .Description Create new navigation property to messages for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. ATTACHMENTS <IMicrosoftGraphServiceAnnouncementAttachment[]>: A collection of serviceAnnouncementAttachments. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: BODY <IMicrosoftGraphItemBody>: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType BODYPARAMETER <IMicrosoftGraphServiceUpdateMessage>: serviceUpdateMessage [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [ActionRequiredByDateTime <DateTime?>]: The expected deadline of the action for the message. [Attachments <IMicrosoftGraphServiceAnnouncementAttachment[]>]: A collection of serviceAnnouncementAttachments. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: [AttachmentsArchive <Byte[]>]: The zip file that contains all attachments for a message. [Body <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [Category <String>]: serviceUpdateCategory [HasAttachments <Boolean?>]: Indicates whether the message has any attachment. [IsMajorChange <Boolean?>]: Indicates whether the message describes a major update for the service. [Services <String[]>]: The affected services by the service message. [Severity <String>]: serviceUpdateSeverity [Tags <String[]>]: A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. [ViewPoint <IMicrosoftGraphServiceUpdateMessageViewpoint>]: serviceUpdateMessageViewpoint [(Any) <Object>]: This indicates any property can be added to this object. [IsArchived <Boolean?>]: Indicates whether the user archived the message. [IsFavorited <Boolean?>]: Indicates whether the user marked the message as favorite. [IsRead <Boolean?>]: Indicates whether the user read the message. DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair VIEWPOINT <IMicrosoftGraphServiceUpdateMessageViewpoint>: serviceUpdateMessageViewpoint [(Any) <Object>]: This indicates any property can be added to this object. [IsArchived <Boolean?>]: Indicates whether the user archived the message. [IsFavorited <Boolean?>]: Indicates whether the user marked the message as favorite. [IsRead <Boolean?>]: Indicates whether the user read the message. .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/new-mgserviceannouncementmessage #> function New-MgServiceAnnouncementMessage { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage] # serviceUpdateMessage # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The expected deadline of the action for the message. ${ActionRequiredByDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment[]] # A collection of serviceAnnouncementAttachments. # To construct, see NOTES section for ATTACHMENTS properties and create a hash table. ${Attachments}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Input File for AttachmentsArchive (The zip file that contains all attachments for a message.) ${AttachmentsArchiveInputFile}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphItemBody] # itemBody # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceUpdateCategory ${Category}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message has any attachment. ${HasAttachments}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message describes a major update for the service. ${IsMajorChange}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # The affected services by the service message. ${Services}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceUpdateSeverity ${Severity}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # A collection of tags for the service message. # Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. ${Tags}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessageViewpoint] # serviceUpdateMessageViewpoint # To construct, see NOTES section for VIEWPOINT properties and create a hash table. ${ViewPoint}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessage_Create'; CreateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\New-MgServiceAnnouncementMessage_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete navigation property issues for admin .Description Delete navigation property issues for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementhealthoverviewissue #> function Remove-MgServiceAnnouncementHealthOverviewIssue { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementHealthOverviewIssue_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementHealthOverviewIssue_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete navigation property healthOverviews for admin .Description Delete navigation property healthOverviews for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementhealthoverview #> function Remove-MgServiceAnnouncementHealthOverview { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementHealthOverview_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementHealthOverview_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete navigation property issues for admin .Description Delete navigation property issues for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementissue #> function Remove-MgServiceAnnouncementIssue { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementIssue_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementIssue_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis The zip file that contains all attachments for a message. .Description The zip file that contains all attachments for a message. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementmessageattachmentarchive #> function Remove-MgServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachmentArchive_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachmentArchive_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis The attachment content. .Description The attachment content. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementmessageattachmentcontent #> function Remove-MgServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachmentContent_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachmentContent_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete navigation property attachments for admin .Description Delete navigation property attachments for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementmessageattachment #> function Remove-MgServiceAnnouncementMessageAttachment { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachment_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessageAttachment_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete navigation property messages for admin .Description Delete navigation property messages for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/remove-mgserviceannouncementmessage #> function Remove-MgServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessage_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Remove-MgServiceAnnouncementMessage_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis The zip file that contains all attachments for a message. .Description The zip file that contains all attachments for a message. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Inputs System.IO.Stream .Inputs System.String .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/set-mgserviceannouncementmessageattachmentarchive #> function Set-MgServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [System.IO.Stream] # . ${Data}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(Mandatory)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # The path to the file to upload. # This should include a path and file name. # If you omit the path, the current location will be used. ${InFile}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # ContentType Parameter ${ContentType}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Set = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Set-MgServiceAnnouncementMessageAttachmentArchive_Set'; SetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Set-MgServiceAnnouncementMessageAttachmentArchive_SetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis The attachment content. .Description The attachment content. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Inputs System.IO.Stream .Inputs System.String .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/set-mgserviceannouncementmessageattachmentcontent #> function Set-MgServiceAnnouncementMessageAttachmentContent { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [System.IO.Stream] # . ${Data}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(Mandatory)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # The path to the file to upload. # This should include a path and file name. # If you omit the path, the current location will be used. ${InFile}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.String] # ContentType Parameter ${ContentType}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Set = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Set-MgServiceAnnouncementMessageAttachmentContent_Set'; SetViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Set-MgServiceAnnouncementMessageAttachmentContent_SetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the navigation property issues in admin .Description Update the navigation property issues in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealthIssue>: serviceHealthIssue [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage POSTS <IMicrosoftGraphServiceHealthIssuePost[]>: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/update-mgserviceannouncementhealthoverviewissue #> function Update-MgServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssuePost[]] # Collection of historical posts for the service issue. # To construct, see NOTES section for POSTS properties and create a hash table. ${Posts}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverviewIssue_Update'; UpdateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverviewIssue_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverviewIssue_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverviewIssue_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the navigation property healthOverviews in admin .Description Update the navigation property healthOverviews in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealth>: serviceHealth [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Issues <IMicrosoftGraphServiceHealthIssue[]>]: A collection of issues that happened on the service, with detailed information for each issue. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus [Service <String>]: The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. [Status <String>]: serviceHealthStatus INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage ISSUES <IMicrosoftGraphServiceHealthIssue[]>: A collection of issues that happened on the service, with detailed information for each issue. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/update-mgserviceannouncementhealthoverview #> function Update-MgServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealth] # serviceHealth # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue[]] # A collection of issues that happened on the service, with detailed information for each issue. # To construct, see NOTES section for ISSUES properties and create a hash table. ${Issues}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The service name. # Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. ${Service}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverview_Update'; UpdateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverview_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverview_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementHealthOverview_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the navigation property issues in admin .Description Update the navigation property issues in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceHealthIssue>: serviceHealthIssue [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [Classification <String>]: serviceHealthClassificationType [Feature <String>]: The feature name of the service issue. [FeatureGroup <String>]: The feature group name of the service issue. [ImpactDescription <String>]: The description of the service issue impact. [IsResolved <Boolean?>]: Indicates whether the issue is resolved. [Origin <String>]: serviceHealthOrigin [Posts <IMicrosoftGraphServiceHealthIssuePost[]>]: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType [Service <String>]: Indicates the service affected by the issue. [Status <String>]: serviceHealthStatus DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage POSTS <IMicrosoftGraphServiceHealthIssuePost[]>: Collection of historical posts for the service issue. [CreatedDateTime <DateTime?>]: The published time of the post. [Description <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [PostType <String>]: postType .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/update-mgserviceannouncementissue #> function Update-MgServiceAnnouncementIssue { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceHealthIssuePost[]] # Collection of historical posts for the service issue. # To construct, see NOTES section for POSTS properties and create a hash table. ${Posts}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementIssue_Update'; UpdateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementIssue_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementIssue_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementIssue_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the navigation property attachments in admin .Description Update the navigation property attachments in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphServiceAnnouncementAttachment>: serviceAnnouncementAttachment [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/update-mgserviceannouncementmessageattachment #> function Update-MgServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment] # serviceAnnouncementAttachment # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Input File for Content (The attachment content.) ${ContentInputFile}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ContentType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${Size}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessageAttachment_Update'; UpdateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessageAttachment_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessageAttachment_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessageAttachment_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the navigation property messages in admin .Description Update the navigation property messages in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. ATTACHMENTS <IMicrosoftGraphServiceAnnouncementAttachment[]>: A collection of serviceAnnouncementAttachments. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: BODY <IMicrosoftGraphItemBody>: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType BODYPARAMETER <IMicrosoftGraphServiceUpdateMessage>: serviceUpdateMessage [(Any) <Object>]: This indicates any property can be added to this object. [Details <IMicrosoftGraphKeyValuePair[]>]: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair [EndDateTime <DateTime?>]: The end time of the service event. [LastModifiedDateTime <DateTime?>]: The last modified time of the service event. [StartDateTime <DateTime?>]: The start time of the service event. [Title <String>]: The title of the service event. [Id <String>]: The unique identifier for an entity. Read-only. [ActionRequiredByDateTime <DateTime?>]: The expected deadline of the action for the message. [Attachments <IMicrosoftGraphServiceAnnouncementAttachment[]>]: A collection of serviceAnnouncementAttachments. [Id <String>]: The unique identifier for an entity. Read-only. [Content <Byte[]>]: The attachment content. [ContentType <String>]: [LastModifiedDateTime <DateTime?>]: [Name <String>]: [Size <Int32?>]: [AttachmentsArchive <Byte[]>]: The zip file that contains all attachments for a message. [Body <IMicrosoftGraphItemBody>]: itemBody [(Any) <Object>]: This indicates any property can be added to this object. [Content <String>]: The content of the item. [ContentType <String>]: bodyType [Category <String>]: serviceUpdateCategory [HasAttachments <Boolean?>]: Indicates whether the message has any attachment. [IsMajorChange <Boolean?>]: Indicates whether the message describes a major update for the service. [Services <String[]>]: The affected services by the service message. [Severity <String>]: serviceUpdateSeverity [Tags <String[]>]: A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. [ViewPoint <IMicrosoftGraphServiceUpdateMessageViewpoint>]: serviceUpdateMessageViewpoint [(Any) <Object>]: This indicates any property can be added to this object. [IsArchived <Boolean?>]: Indicates whether the user archived the message. [IsFavorited <Boolean?>]: Indicates whether the user marked the message as favorite. [IsRead <Boolean?>]: Indicates whether the user read the message. DETAILS <IMicrosoftGraphKeyValuePair[]>: More details about service event. This property doesn't support filters. [Name <String>]: Name for this key-value pair [Value <String>]: Value for this key-value pair INPUTOBJECT <IDevicesServiceAnnouncementIdentity>: Identity Parameter [ServiceAnnouncementAttachmentId <String>]: The unique identifier of serviceAnnouncementAttachment [ServiceHealthId <String>]: The unique identifier of serviceHealth [ServiceHealthIssueId <String>]: The unique identifier of serviceHealthIssue [ServiceUpdateMessageId <String>]: The unique identifier of serviceUpdateMessage VIEWPOINT <IMicrosoftGraphServiceUpdateMessageViewpoint>: serviceUpdateMessageViewpoint [(Any) <Object>]: This indicates any property can be added to this object. [IsArchived <Boolean?>]: Indicates whether the user archived the message. [IsFavorited <Boolean?>]: Indicates whether the user marked the message as favorite. [IsRead <Boolean?>]: Indicates whether the user read the message. .Link https://learn.microsoft.com/powershell/module/microsoft.graph.devices.serviceannouncement/update-mgserviceannouncementmessage #> function Update-MgServiceAnnouncementMessage { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage] # serviceUpdateMessage # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The expected deadline of the action for the message. ${ActionRequiredByDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment[]] # A collection of serviceAnnouncementAttachments. # To construct, see NOTES section for ATTACHMENTS properties and create a hash table. ${Attachments}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Input File for AttachmentsArchive (The zip file that contains all attachments for a message.) ${AttachmentsArchiveInputFile}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphItemBody] # itemBody # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceUpdateCategory ${Category}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # More details about service event. # This property doesn't support filters. # To construct, see NOTES section for DETAILS properties and create a hash table. ${Details}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message has any attachment. ${HasAttachments}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message describes a major update for the service. ${IsMajorChange}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # The affected services by the service message. ${Services}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # serviceUpdateSeverity ${Severity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # A collection of tags for the service message. # Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. ${Tags}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceUpdateMessageViewpoint] # serviceUpdateMessageViewpoint # To construct, see NOTES section for VIEWPOINT properties and create a hash table. ${ViewPoint}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessage_Update'; UpdateExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessage_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessage_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Devices.ServiceAnnouncement.private\Update-MgServiceAnnouncementMessage_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIoOQYJKoZIhvcNAQcCoIIoKjCCKCYCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCNQUXbbIFVmYfE # zfMUKSxsKwClBulDoMaWCnWL7MRMzqCCDYUwggYDMIID66ADAgECAhMzAAADri01 # UchTj1UdAAAAAAOuMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwODU5WhcNMjQxMTE0MTkwODU5WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQD0IPymNjfDEKg+YyE6SjDvJwKW1+pieqTjAY0CnOHZ1Nj5irGjNZPMlQ4HfxXG # yAVCZcEWE4x2sZgam872R1s0+TAelOtbqFmoW4suJHAYoTHhkznNVKpscm5fZ899 # QnReZv5WtWwbD8HAFXbPPStW2JKCqPcZ54Y6wbuWV9bKtKPImqbkMcTejTgEAj82 # 6GQc6/Th66Koka8cUIvz59e/IP04DGrh9wkq2jIFvQ8EDegw1B4KyJTIs76+hmpV # M5SwBZjRs3liOQrierkNVo11WuujB3kBf2CbPoP9MlOyyezqkMIbTRj4OHeKlamd # WaSFhwHLJRIQpfc8sLwOSIBBAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUhx/vdKmXhwc4WiWXbsf0I53h8T8w # VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh # dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzUwMTgzNjAfBgNVHSMEGDAW # gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v # d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw # MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov # L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx # XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB # AGrJYDUS7s8o0yNprGXRXuAnRcHKxSjFmW4wclcUTYsQZkhnbMwthWM6cAYb/h2W # 5GNKtlmj/y/CThe3y/o0EH2h+jwfU/9eJ0fK1ZO/2WD0xi777qU+a7l8KjMPdwjY # 0tk9bYEGEZfYPRHy1AGPQVuZlG4i5ymJDsMrcIcqV8pxzsw/yk/O4y/nlOjHz4oV # APU0br5t9tgD8E08GSDi3I6H57Ftod9w26h0MlQiOr10Xqhr5iPLS7SlQwj8HW37 # ybqsmjQpKhmWul6xiXSNGGm36GarHy4Q1egYlxhlUnk3ZKSr3QtWIo1GGL03hT57 # xzjL25fKiZQX/q+II8nuG5M0Qmjvl6Egltr4hZ3e3FQRzRHfLoNPq3ELpxbWdH8t # Nuj0j/x9Crnfwbki8n57mJKI5JVWRWTSLmbTcDDLkTZlJLg9V1BIJwXGY3i2kR9i # 5HsADL8YlW0gMWVSlKB1eiSlK6LmFi0rVH16dde+j5T/EaQtFz6qngN7d1lvO7uk # 6rtX+MLKG4LDRsQgBTi6sIYiKntMjoYFHMPvI/OMUip5ljtLitVbkFGfagSqmbxK # 7rJMhC8wiTzHanBg1Rrbff1niBbnFbbV4UDmYumjs1FIpFCazk6AADXxoKCo5TsO # zSHqr9gHgGYQC2hMyX9MGLIpowYCURx3L7kUiGbOiMwaMIIHejCCBWKgAwIBAgIK # YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV # BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv # c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm # aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw # OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE # BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD # VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG # 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la # UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc # 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D # dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ # lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk # kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 # A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd # X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL # 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd # sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 # T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS # 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI # bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL # BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD # uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv # c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF # BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h # cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA # YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn # 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 # v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b # pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ # KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy # CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp # mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi # hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb # BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS # oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL # gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX # cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCGgowghoGAgEBMIGVMH4x # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p # Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAOuLTVRyFOPVR0AAAAA # A64wDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw # HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEINNx # spZASIg7keg7+C45nrrz5kyKjefncIrD94pl5znHMEIGCisGAQQBgjcCAQwxNDAy # oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20wDQYJKoZIhvcNAQEBBQAEggEAj8qoGMLTguvvR36y5N2lI6S0a8vUtiac4s/0 # yHS39O7mpmAFVtl67JBZ7Ozyp+AHPwQ4/cPAj2kfETCKExhtLPznN5X2e1pZ3kp5 # uC++doS3CJNut9ZBlEP8lQW1Mh3y52C1KB3btN5hFC4aR2A6stoEAIWHnpk7Ecru # +y+1ksoqQsTYo/1oLikZxcfSrmIQmXkdNuOAL0o62wRMnizegfpXbqaXd1zINCK9 # s+1iXK+EABCPQwbGeWz4HBAy5+zPBKJgMbMfsLt9i9yHWth8EQByyI3KtNwQ/vJr # k6AP0dxd4z6aHYYmd9gKZtF1BVKdAA1Dz7Ydn42mhJLqmkU9EaGCF5QwgheQBgor # BgEEAYI3AwMBMYIXgDCCF3wGCSqGSIb3DQEHAqCCF20wghdpAgEDMQ8wDQYJYIZI # AWUDBAIBBQAwggFSBgsqhkiG9w0BCRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGE # WQoDATAxMA0GCWCGSAFlAwQCAQUABCC8Ejl5/vvucuOQt9YpGCMXtd8mZfutyB/W # jlBn+phdfwIGZmraaX8dGBMyMDI0MDcwNDIwNTg0MC41OTVaMASAAgH0oIHRpIHO # MIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH # UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQL # ExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxk # IFRTUyBFU046QTQwMC0wNUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1l # LVN0YW1wIFNlcnZpY2WgghHqMIIHIDCCBQigAwIBAgITMwAAAezgK6SC0JFSgAAB # AAAB7DANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAx # MDAeFw0yMzEyMDYxODQ1MzhaFw0yNTAzMDUxODQ1MzhaMIHLMQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1l # cmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046QTQwMC0w # NUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Uw # ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwR/RuCTbgxUWVm/Vdul22 # uwdEZm0IoAFs6oIr39VK/ItP80cn+8TmtP67iabB4DmAKJ9GH6dJGhEPJpY4vTKR # SOwrRNxVIKoPPeUF3f4VyHEco/u1QUadlwD132NuZCxbnh6Mi2lLG7pDvszZqMG7 # S3MCi2bk2nvtGKdeAIL+H77gL4r01TSWb7rsE2Jb1P/N6Y/W1CqDi1/Ib3/zRqWX # t4zxvdIGcPjS4ZKyQEF3SEZAq4XIjiyowPHaqNbZxdf2kWO/ajdfTU85t934CXAi # nb0o+uQ9KtaKNLVVcNf5QpS4f6/MsXOvIFuCYMRdKDjpmvowAeL+1j27bCxCBpDQ # HrWkfPzZp/X+bt9C7E5hPP6HVRoqBYR7u1gUf5GEq+5r1HA0jajn0Q6OvfYckE0H # dOv6KWa+sAmJG7PDvTZae77homzx6IPqggVpNZuCk79SfVmnKu9F58UAnU58TqDH # EzGsQnMUQKstS3zjn6SU0NLEFNCetluaKkqWDRVLEWbu329IEh3tqXPXfy6Rh/wC # bwe9SCJIoqtBexBrPyQYA2Xaz1fK9ysTsx0kA9V1JwVV44Ia9c+MwtAR6sqKdAgR # o/bs/Xu8gua8LDe6KWyu974e9mGW7ZO8narDFrAT1EXGHDueygSKvv2K7wB8lAgM # GJj73CQvr+jqoWwx6XdyeQIDAQABo4IBSTCCAUUwHQYDVR0OBBYEFPRa0Edk/iv1 # whYQsV8UgEf4TIWGMB8GA1UdIwQYMBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8G # A1UdHwRYMFYwVKBSoFCGTmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMv # Y3JsL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBs # BggrBgEFBQcBAQRgMF4wXAYIKwYBBQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0 # LmNvbS9wa2lvcHMvY2VydHMvTWljcm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUy # MDIwMTAoMSkuY3J0MAwGA1UdEwEB/wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUH # AwgwDgYDVR0PAQH/BAQDAgeAMA0GCSqGSIb3DQEBCwUAA4ICAQCSvMSkMSrvjlDP # ag8ARb0OFrAQtSLMDpN0UY3FjvPhwGKDrrixmnuMfjrmVjRq1u8IhkDvGF/bffbF # Tr+IAnDSeg8TB9zfG/4ybknuopklbeGjbt7MLxpfholCERyEc20PMZKJz9SvzfuO # 1n5xrrLOL8m0nmv5kBcv+y1AXJ5QcLicmhe2Ip3/D67Ed6oPqQI03mDjYaS1NQhB # Ntu57wPKXZ1EoNToBk8bA6839w119b+a9WToqIskdRGoP5xjDIv+mc0vBHhZGkJV # vfIhm4Ap8zptC7xVAly0jeOv5dUGMCYgZjvoTmgd45bqAwundmPlGur7eleWYedL # Qf7s3L5+qfaY/xEh/9uo17SnM/gHVSGAzvnreGhOrB2LtdKoVSe5LbYpihXctDe7 # 6iYtL+mhxXPEpzda3bJlhPTOQ3KOEZApVERBo5yltWjPCWlXxyCpl5jj9nY0nfd0 # 71bemnou8A3rUZrdgKIautsH7SHOiOebZGqNu+622vJta3eAYsCAaxAcB9BiJPla # 7Xad9qrTYdT45VlCYTtBSY4oVRsedSADv99jv/iYIAGy1bCytua0o/Qqv9erKmzQ # CTVMXaDc25DTLcMGJrRua3K0xivdtnoBexzVJr6yXqM+Ba2whIVRvGcriBkKX0FJ # FeW7r29XX+k0e4DnG6iBHKQjec6VNzCCB3EwggVZoAMCAQICEzMAAAAVxedrngKb # SZkAAAAAABUwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI # EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv # ZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmlj # YXRlIEF1dGhvcml0eSAyMDEwMB4XDTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIy # NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT # B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE # AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQDk4aZM57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXI # yjVX9gF/bErg4r25PhdgM/9cT8dm95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjo # YH1qUoNEt6aORmsHFPPFdvWGUNzBRMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1y # aa8dq6z2Nr41JmTamDu6GnszrYBbfowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v # 3byNpOORj7I5LFGc6XBpDco2LXCOMcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pG # ve2krnopN6zL64NF50ZuyjLVwIYwXE8s4mKyzbnijYjklqwBSru+cakXW2dg3viS # kR4dPf0gz3N9QZpGdc3EXzTdEonW/aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYr # bqgSUei/BQOj0XOmTTd0lBw0gg/wEPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlM # jgK8QmguEOqEUUbi0b1qGFphAXPKZ6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSL # W6CmgyFdXzB0kZSU2LlQ+QuJYfM2BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AF # emzFER1y7435UsSFF5PAPBXbGjfHCBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIu # rQIDAQABo4IB3TCCAdkwEgYJKwYBBAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIE # FgQUKqdS/mTEmr6CkTxGNSnPEP8vBO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWn # G1M1GelyMFwGA1UdIARVMFMwUQYMKwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEW # M2h0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5 # Lmh0bTATBgNVHSUEDDAKBggrBgEFBQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBi # AEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV # 9lbLj+iiXGJo0T2UkFvXzpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3Js # Lm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAx # MC0wNi0yMy5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8v # d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2 # LTIzLmNydDANBgkqhkiG9w0BAQsFAAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv # 6lwUtj5OR2R4sQaTlz0xM7U518JxNj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZn # OlNN3Zi6th542DYunKmCVgADsAW+iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1 # bSNU5HhTdSRXud2f8449xvNo32X2pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4 # rPf5KYnDvBewVIVCs/wMnosZiefwC2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU # 6ZGyqVvfSaN0DLzskYDSPeZKPmY7T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDF # NLB62FD+CljdQDzHVG2dY3RILLFORy3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/ # HltEAY5aGZFrDZ+kKNxnGSgkujhLmm77IVRrakURR6nxt67I6IleT53S0Ex2tVdU # CbFpAUR+fKFhbHP+CrvsQWY9af3LwUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKi # excdFYmNcP7ntdAoGokLjzbaukz5m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTm # dHRbatGePu1+oDEzfbzL6Xu/OHBE0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZq # ELQdVTNYs6FwZvKhggNNMIICNQIBATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMx # EzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoT # FU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJp # Y2EgT3BlcmF0aW9uczEnMCUGA1UECxMeblNoaWVsZCBUU1MgRVNOOkE0MDAtMDVF # MC1EOTQ3MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK # AQEwBwYFKw4DAhoDFQCOHPtgVdz9EW0iPNL/BXqJoqVMf6CBgzCBgKR+MHwxCzAJ # BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k # MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv # c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBCwUAAgUA6jEGkDAi # GA8yMDI0MDcwNDExMzEyOFoYDzIwMjQwNzA1MTEzMTI4WjB0MDoGCisGAQQBhFkK # BAExLDAqMAoCBQDqMQaQAgEAMAcCAQACAjRPMAcCAQACAhO9MAoCBQDqMlgQAgEA # MDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAI # AgEAAgMBhqAwDQYJKoZIhvcNAQELBQADggEBAF1vkvYpCVpJIboAYYc/pLKgUY8b # Hpxm88Syvcn+HqQZ6JgljoHlGPKPFZphlzzuAhMuonLokRhO+PlrkdzQMefVX9lr # pF1Qh7smApq7zrAyDPXCd5znk3eXM4nWOmI7VNxEW1DA97M69hKan8f/aHi61dpL # XT3u5c4aOPZmytWQsczbzM8z6nsvbtDDiCumY1WELkqaVXbtl0w2bQjW3ydODUFU # HW1MM4us6yXh/71r5R6xRmNsQ1KRpNDB8VrAQumX79x18VVdDMlrb3WfLOb742S+ # 8SIxfLLU02Gv6WyEblVdSTpXoyf1OJb5vedDVgD5f4j+Vo/sVM5QIVhJEUQxggQN # MIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ # MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u # MSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAezg # K6SC0JFSgAABAAAB7DANBglghkgBZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkDMQ0G # CyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCBOsFM/qPzYUzZ5k863g3Osdulc # y2ueur5AMBncb20D3jCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQwgb0EICcJ5vVq # fTfIhx21QBBbKyo/xciQIXaoMWULejAE1QqDMIGYMIGApH4wfDELMAkGA1UEBhMC # VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNV # BAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRp # bWUtU3RhbXAgUENBIDIwMTACEzMAAAHs4CukgtCRUoAAAQAAAewwIgQgelwl/LrB # RYVRfllmnxba4AomygU7S/UbVSul67LmH9AwDQYJKoZIhvcNAQELBQAEggIAJBe0 # wwVAn7x1mDQfVvVe+yqzvznuxKXVLP/WVw2WYSa+e11uRWcUChJBwutVAKhjedGj # BnJqw98wCp2HHqVOVmX85dowG8n+00S0SxLHpSyH5iQeTC6gv5kXriWGnbMcvqkr # RaOGMxrkBKxAVdLHDxV+v0cYKWBl7Vl88jQ9uFhMOvnYfPKXH/AzzaOagvyq01KD # 8d+EnfFHS8rgAE5oUHbZMooZzsNWWgR1vFMKnJdkRzDKS4doANF3pLiAxcJATjlu # +IRDnqcjoERqwrd81MMcM4KAgFtUtuU/LgR9+QzSxNTdr5U1Z4B4QNVRLSUrJW8B # rg5NYcBlDX+kc2OSnWdPG218J6dVfQ5c9vrLQ+dtr+CA+vHXTnaxnCNqj157womX # xA5X30NJCzRgXhMwwck/rMhMgLK2Sqoox/jIQexNXlyAHyiOOh+nIBTts7ZU46KR # az3wTWx2266I5lXC8CIZfY2Cxlj9R/6LDvpRqVsNV9/lV3LFwMipUQX6p0C6d0vG # qkGl4RCqZa93Ml4omg3iV+QPwLj4e2cUig1cZbJhAijEWlgxqOh3UO9pWpLGC5L0 # +DWDqlsLmdS1LWk7t13SJYOVRI0DhXOHlE7cY/lgJv3fbgIlBtWd2hPKrp69vC1L # JxqvyOmPyx6buxhhHRGfLbTz8MByhN7Y8zcN8n4= # SIG # End signature block |