exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.3, 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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementhealthoverviewcount #> function Get-MgBetaServiceAnnouncementHealthOverviewCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementhealthoverviewissuecount #> function Get-MgBetaServiceAnnouncementHealthOverviewIssueCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewIssueCount_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewIssueCount_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementhealthoverviewissue #> function Get-MgBetaServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewIssue_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewIssue_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverviewIssue_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId -ExpandProperty "issues" .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementhealthoverview .Link https://learn.microsoft.com/graph/api/servicehealth-get?view=graph-rest-beta .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-healthoverviews?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverview_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverview_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementHealthOverview_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementissuecount #> function Get-MgBetaServiceAnnouncementIssueCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementIssueCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementIssue .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementissue .Link https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-beta .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-issues?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementIssue_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementIssue_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementIssue_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 a list of attachments associated with a service message. .Description Get a list of attachments associated with a service message. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachmentarchive .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentArchive_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentArchive_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachmentcontent .Link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentContent_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentContent_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachmentcount #> function Get-MgBetaServiceAnnouncementMessageAttachmentCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentCount_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachmentCount_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachment .Link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-beta .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachment_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachment_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageAttachment_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessagecount #> function Get-MgBetaServiceAnnouncementMessageCount { [OutputType([System.Int32])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessageCount_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessage .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-beta .Link https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-beta #> function Get-MgBetaServiceAnnouncementMessage { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessage_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessage_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Get-MgBetaServiceAnnouncementMessage_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaArchiveServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetaarchiveserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-beta #> function Invoke-MgBetaArchiveServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='ArchiveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Archive', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths19OsejwAdminServiceannouncementMessagesMicrosoftGraphArchivePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='ArchiveExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='ArchiveExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaArchiveServiceAnnouncementMessage_Archive'; ArchiveExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaArchiveServiceAnnouncementMessage_ArchiveExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaFavoriteServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetafavoriteserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-beta #> function Invoke-MgBetaFavoriteServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='FavoriteExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Favorite', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Hqlbr0AdminServiceannouncementMessagesMicrosoftGraphFavoritePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='FavoriteExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='FavoriteExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaFavoriteServiceAnnouncementMessage_Favorite'; FavoriteExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaFavoriteServiceAnnouncementMessage_FavoriteExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaMarkServiceAnnouncementMessageRead -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetamarkserviceannouncementmessageread .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-beta #> function Invoke-MgBetaMarkServiceAnnouncementMessageRead { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='MarkExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Mark', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths9Q4ErzAdminServiceannouncementMessagesMicrosoftGraphMarkreadPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='MarkExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='MarkExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaMarkServiceAnnouncementMessageRead_Mark'; MarkExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaMarkServiceAnnouncementMessageRead_MarkExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaMarkServiceAnnouncementMessageUnread -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetamarkserviceannouncementmessageunread .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-beta #> function Invoke-MgBetaMarkServiceAnnouncementMessageUnread { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='MarkExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Mark', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsX0Td2HAdminServiceannouncementMessagesMicrosoftGraphMarkunreadPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='MarkExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='MarkExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaMarkServiceAnnouncementMessageUnread_Mark'; MarkExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaMarkServiceAnnouncementMessageUnread_MarkExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/invoke-mgbetareportserviceannouncementhealthoverviewissueincident #> function Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Report', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='ReportViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident_Report'; ReportViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident_ReportViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Invoke-MgBetaReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetareportserviceannouncementissueincident .Link https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-beta #> function Invoke-MgBetaReportServiceAnnouncementIssueIncident { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Report', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='ReportViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Path to write output file to ${OutFile}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaReportServiceAnnouncementIssueIncident_Report'; ReportViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaReportServiceAnnouncementIssueIncident_ReportViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaUnarchiveServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetaunarchiveserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-beta #> function Invoke-MgBetaUnarchiveServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UnarchiveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unarchive', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsYkfdhbAdminServiceannouncementMessagesMicrosoftGraphUnarchivePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UnarchiveExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UnarchiveExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaUnarchiveServiceAnnouncementMessage_Unarchive'; UnarchiveExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaUnarchiveServiceAnnouncementMessage_UnarchiveExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement $params = @{ messageIds = @( "MC172851" "MC167983" ) } Invoke-MgBetaUnfavoriteServiceAnnouncementMessage -BodyParameter $params .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/invoke-mgbetaunfavoriteserviceannouncementmessage .Link https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-beta #> function Invoke-MgBetaUnfavoriteServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UnfavoriteExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unfavorite', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1U36FhAdminServiceannouncementMessagesMicrosoftGraphUnfavoritePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UnfavoriteExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UnfavoriteExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${MessageIds}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaUnfavoriteServiceAnnouncementMessage_Unfavorite'; UnfavoriteExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Invoke-MgBetaUnfavoriteServiceAnnouncementMessage_UnfavoriteExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>: Extra 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.beta.devices.serviceannouncement/new-mgbetaserviceannouncementhealthoverviewissue #> function New-MgBetaServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverviewIssue_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverviewIssue_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverviewIssue_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverviewIssue_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>]: Extra 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.beta.devices.serviceannouncement/new-mgbetaserviceannouncementhealthoverview #> function New-MgBetaServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth] # serviceHealth # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverview_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementHealthOverview_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>: Extra 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.beta.devices.serviceannouncement/new-mgbetaserviceannouncementissue #> function New-MgBetaServiceAnnouncementIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementIssue_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementIssue_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/new-mgbetaserviceannouncementmessageattachment #> function New-MgBetaServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment] # serviceAnnouncementAttachment # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Input File for Content (The attachment content.) ${ContentInputFile}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${ContentType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # . ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Int32] # . ${Size}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessageAttachment_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessageAttachment_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessageAttachment_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessageAttachment_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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 of 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[]>: Extra 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.beta.devices.serviceannouncement/new-mgbetaserviceannouncementmessage #> function New-MgBetaServiceAnnouncementMessage { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage] # serviceUpdateMessage # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The expected deadline of the action for the message. ${ActionRequiredByDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Input File for AttachmentsArchive (The zip file of all attachments for a message.) ${AttachmentsArchiveInputFile}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphItemBody] # itemBody # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceUpdateCategory ${Category}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message has any attachment. ${HasAttachments}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message describes a major update for the service. ${IsMajorChange}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # The affected services by the service message. ${Services}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceUpdateSeverity ${Severity}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessageViewpoint] # serviceUpdateMessageViewpoint # To construct, see NOTES section for VIEWPOINT properties and create a hash table. ${ViewPoint}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessage_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\New-MgBetaServiceAnnouncementMessage_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementhealthoverviewissue #> function Remove-MgBetaServiceAnnouncementHealthOverviewIssue { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementHealthOverviewIssue_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementHealthOverviewIssue_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementhealthoverview #> function Remove-MgBetaServiceAnnouncementHealthOverview { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementHealthOverview_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementHealthOverview_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementissue #> function Remove-MgBetaServiceAnnouncementIssue { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementIssue_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementIssue_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 of all attachments for a message. .Description The zip file of all attachments for a message. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementmessageattachmentarchive #> function Remove-MgBetaServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachmentArchive_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachmentArchive_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementmessageattachmentcontent #> function Remove-MgBetaServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachmentContent_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachmentContent_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementmessageattachment #> function Remove-MgBetaServiceAnnouncementMessageAttachment { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachment_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessageAttachment_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.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.beta.devices.serviceannouncement/remove-mgbetaserviceannouncementmessage #> function Remove-MgBetaServiceAnnouncementMessage { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessage_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Remove-MgBetaServiceAnnouncementMessage_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 of all attachments for a message. .Description The zip file of all attachments for a message. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/set-mgbetaserviceannouncementmessageattachmentarchive #> function Set-MgBetaServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.IO.Stream] # . ${Data}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(Mandatory)] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # ContentType Parameter ${ContentType}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Set-MgBetaServiceAnnouncementMessageAttachmentArchive_Set'; SetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Set-MgBetaServiceAnnouncementMessageAttachmentArchive_SetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.Collections.IDictionary .Inputs System.IO.Stream .Inputs System.String .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/set-mgbetaserviceannouncementmessageattachmentcontent #> function Set-MgBetaServiceAnnouncementMessageAttachmentContent { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.IO.Stream] # . ${Data}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(Mandatory)] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # ContentType Parameter ${ContentType}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Set-MgBetaServiceAnnouncementMessageAttachmentContent_Set'; SetViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Set-MgBetaServiceAnnouncementMessageAttachmentContent_SetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>: Extra 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.beta.devices.serviceannouncement/update-mgbetaserviceannouncementhealthoverviewissue #> function Update-MgBetaServiceAnnouncementHealthOverviewIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverviewIssue_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverviewIssue_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverviewIssue_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverviewIssue_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>]: Extra 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.beta.devices.serviceannouncement/update-mgbetaserviceannouncementhealthoverview #> function Update-MgBetaServiceAnnouncementHealthOverview { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth] # serviceHealth # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverview_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverview_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverview_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementHealthOverview_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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[]>: Extra 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.beta.devices.serviceannouncement/update-mgbetaserviceannouncementissue #> function Update-MgBetaServiceAnnouncementIssue { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceHealthIssue ${ServiceHealthIssueId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue] # serviceHealthIssue # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthClassificationType ${Classification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature name of the service issue. ${Feature}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The feature group name of the service issue. ${FeatureGroup}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the service issue impact. ${ImpactDescription}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the issue is resolved. ${IsResolved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthOrigin ${Origin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Indicates the service affected by the issue. ${Service}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceHealthStatus ${Status}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementIssue_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementIssue_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementIssue_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementIssue_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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.beta.devices.serviceannouncement/update-mgbetaserviceannouncementmessageattachment #> function Update-MgBetaServiceAnnouncementMessageAttachment { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment] # serviceAnnouncementAttachment # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Input File for Content (The attachment content.) ${ContentInputFile}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${ContentType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # . ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Int32] # . ${Size}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessageAttachment_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessageAttachment_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessageAttachment_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessageAttachment_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .Inputs System.Collections.IDictionary .Outputs Microsoft.Graph.Beta.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[]>]: Extra 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 of 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[]>: Extra 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.beta.devices.serviceannouncement/update-mgbetaserviceannouncementmessage #> function Update-MgBetaServiceAnnouncementMessage { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # The unique identifier of serviceUpdateMessage ${ServiceUpdateMessageId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage] # serviceUpdateMessage # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter()] [Alias('RHV')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Optional Response Headers Variable. ${ResponseHeadersVariable}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The expected deadline of the action for the message. ${ActionRequiredByDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # Input File for AttachmentsArchive (The zip file of all attachments for a message.) ${AttachmentsArchiveInputFile}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # serviceUpdateCategory ${Category}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphKeyValuePair[]] # Extra 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.Beta.PowerShell.Category('Body')] [System.DateTime] # The end time of the service event. ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Indicates whether the message has any attachment. ${HasAttachments}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.DateTime] # The last modified time of the service event. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # The affected services by the service message. ${Services}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # serviceUpdateSeverity ${Severity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The start time of the service event. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.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.Beta.PowerShell.Category('Body')] [System.String] # The title of the service event. ${Title}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessageViewpoint] # serviceUpdateMessageViewpoint # To construct, see NOTES section for VIEWPOINT properties and create a hash table. ${ViewPoint}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Collections.IDictionary] # Optional headers that will be added to the request. ${Headers}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.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.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessage_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessage_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessage_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Devices.ServiceAnnouncement.private\Update-MgBetaServiceAnnouncementMessage_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.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 # MIIoLQYJKoZIhvcNAQcCoIIoHjCCKBoCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCApILwPFEwShJIJ # puQW3EaIBcJzPS/BcrNP2poi10OX66CCDXYwggX0MIID3KADAgECAhMzAAAEBGx0 # Bv9XKydyAAAAAAQEMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjQwOTEyMjAxMTE0WhcNMjUwOTExMjAxMTE0WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQC0KDfaY50MDqsEGdlIzDHBd6CqIMRQWW9Af1LHDDTuFjfDsvna0nEuDSYJmNyz # NB10jpbg0lhvkT1AzfX2TLITSXwS8D+mBzGCWMM/wTpciWBV/pbjSazbzoKvRrNo # DV/u9omOM2Eawyo5JJJdNkM2d8qzkQ0bRuRd4HarmGunSouyb9NY7egWN5E5lUc3 # a2AROzAdHdYpObpCOdeAY2P5XqtJkk79aROpzw16wCjdSn8qMzCBzR7rvH2WVkvF # HLIxZQET1yhPb6lRmpgBQNnzidHV2Ocxjc8wNiIDzgbDkmlx54QPfw7RwQi8p1fy # 4byhBrTjv568x8NGv3gwb0RbAgMBAAGjggFzMIIBbzAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU8huhNbETDU+ZWllL4DNMPCijEU4w # RQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEW # MBQGA1UEBRMNMjMwMDEyKzUwMjkyMzAfBgNVHSMEGDAWgBRIbmTlUAXTgqoXNzci # tW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3JsMGEG # CCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5taWNyb3NvZnQu # Y29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3J0 # MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIBAIjmD9IpQVvfB1QehvpC # Ge7QeTQkKQ7j3bmDMjwSqFL4ri6ae9IFTdpywn5smmtSIyKYDn3/nHtaEn0X1NBj # L5oP0BjAy1sqxD+uy35B+V8wv5GrxhMDJP8l2QjLtH/UglSTIhLqyt8bUAqVfyfp # h4COMRvwwjTvChtCnUXXACuCXYHWalOoc0OU2oGN+mPJIJJxaNQc1sjBsMbGIWv3 # cmgSHkCEmrMv7yaidpePt6V+yPMik+eXw3IfZ5eNOiNgL1rZzgSJfTnvUqiaEQ0X # dG1HbkDv9fv6CTq6m4Ty3IzLiwGSXYxRIXTxT4TYs5VxHy2uFjFXWVSL0J2ARTYL # E4Oyl1wXDF1PX4bxg1yDMfKPHcE1Ijic5lx1KdK1SkaEJdto4hd++05J9Bf9TAmi # u6EK6C9Oe5vRadroJCK26uCUI4zIjL/qG7mswW+qT0CW0gnR9JHkXCWNbo8ccMk1 # sJatmRoSAifbgzaYbUz8+lv+IXy5GFuAmLnNbGjacB3IMGpa+lbFgih57/fIhamq # 5VhxgaEmn/UjWyr+cPiAFWuTVIpfsOjbEAww75wURNM1Imp9NJKye1O24EspEHmb # DmqCUcq7NqkOKIG4PVm3hDDED/WQpzJDkvu4FrIbvyTGVU01vKsg4UfcdiZ0fQ+/ # V0hf8yrtq9CkB8iIuk5bBxuPMIIHejCCBWKgAwIBAgIKYQ6Q0gAAAAAAAzANBgkq # hkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 # IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEwOTA5WjB+MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQg # Q29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC # CgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+laUKq4BjgaBEm6f8MMHt03 # a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc6Whe0t+bU7IKLMOv2akr # rnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4Ddato88tt8zpcoRb0Rrrg # OGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+lD3v++MrWhAfTVYoonpy # 4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nkkDstrjNYxbc+/jLTswM9 # sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6A4aN91/w0FK/jJSHvMAh # dCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmdX4jiJV3TIUs+UsS1Vz8k # A/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL5zmhD+kjSbwYuER8ReTB # w3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zdsGbiwZeBe+3W7UvnSSmn # Eyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3T8HhhUSJxAlMxdSlQy90 # lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS4NaIjAsCAwEAAaOCAe0w # ggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRIbmTlUAXTgqoXNzcitW2o # ynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD # VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBDuRQFTuHqp8cx0SOJNDBa # BgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny # bC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3JsMF4GCCsG # AQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3dy5taWNyb3NvZnQuY29t # L3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3J0MIGfBgNV # HSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEFBQcCARYzaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1hcnljcHMuaHRtMEAGCCsG # AQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkAYwB5AF8AcwB0AGEAdABl # AG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn8oalmOBUeRou09h0ZyKb # C5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7v0epo/Np22O/IjWll11l # hJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0bpdS1HXeUOeLpZMlEPXh6 # I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/KmtYSWMfCWluWpiW5IP0 # wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvyCInWH8MyGOLwxS3OW560 # STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBpmLJZiWhub6e3dMNABQam # ASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJihsMdYzaXht/a8/jyFqGa # J+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYbBL7fQccOKO7eZS/sl/ah # XJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbSoqKfenoi+kiVH6v7RyOA # 9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sLgOppO6/8MO0ETI7f33Vt # Y5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtXcVZOSEXAQsmbdlsKgEhr # /Xmfwb1tbWrJUnMTDXpQzTGCGg0wghoJAgEBMIGVMH4xCzAJBgNVBAYTAlVTMRMw # EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN # aWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNp # Z25pbmcgUENBIDIwMTECEzMAAAQEbHQG/1crJ3IAAAAABAQwDQYJYIZIAWUDBAIB # BQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEO # MAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIHk7Ss79se8QAw0dHUZ3ZHYH # zJ+3Tvo/A3QzaVU/RdUSMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8A # cwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEB # BQAEggEAS8orubeEWwhZqePgvIOx2QhmkbPXzkUHuQ53j7+gT4VLgmJ6wnEGLVLe # 3+TqeXXtNNp8ma4QWLs2+vtlrQ3I0WhsXIVWlHgQlhL7Xt1JkKYa/wBVz5ccbo0l # GXrVw4G+6kzqew/Qozt5D5QF5v/u3QdXmjlEzxReA5fXz+fxyYv+Sx/zg4E7azXl # VRCuu2cpDUCL8CvR/CSO7Tam5rRSBSacGowsAPly5peXe63qwH+SbGjSzcv5mSEM # PkpcuikiwM/EtwViVlR/SNZR6W3EKmk0MWCd9k+mNf7MhtOQo8sPWmIsnkMlgwvq # 6nQ0bklrISpFtDvoqyzLqjDadODMn6GCF5cwgheTBgorBgEEAYI3AwMBMYIXgzCC # F38GCSqGSIb3DQEHAqCCF3AwghdsAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFSBgsq # hkiG9w0BCRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFl # AwQCAQUABCD9acxUxM/zX3VY4VZp1XwVxWQ9whYHx1HOE6ni9jrgSQIGZzuuBGCe # GBMyMDI0MTEyMDE2NTg1My44MDFaMASAAgH0oIHRpIHOMIHLMQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1l # cmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046OTIwMC0w # NUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg # ghHtMIIHIDCCBQigAwIBAgITMwAAAecujy+TC08b6QABAAAB5zANBgkqhkiG9w0B # AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE # BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD # VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEyMDYxODQ1 # MTlaFw0yNTAzMDUxODQ1MTlaMIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25z # MScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046OTIwMC0wNUUwLUQ5NDcxJTAjBgNV # BAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQDCV58v4IuQ659XPM1DtaWMv9/HRUC5kdiEF89YBP6/ # Rn7kjqMkZ5ESemf5Eli4CLtQVSefRpF1j7S5LLKisMWOGRaLcaVbGTfcmI1vMRJ1 # tzMwCNIoCq/vy8WH8QdV1B/Ab5sK+Q9yIvzGw47TfXPE8RlrauwK/e+nWnwMt060 # akEZiJJz1Vh1LhSYKaiP9Z23EZmGETCWigkKbcuAnhvh3yrMa89uBfaeHQZEHGQq # dskM48EBcWSWdpiSSBiAxyhHUkbknl9PPztB/SUxzRZjUzWHg9bf1mqZ0cIiAWC0 # EjK7ONhlQfKSRHVLKLNPpl3/+UL4Xjc0Yvdqc88gOLUr/84T9/xK5r82ulvRp2A8 # /ar9cG4W7650uKaAxRAmgL4hKgIX5/0aIAsbyqJOa6OIGSF9a+DfXl1LpQPNKR79 # 2scF7tjD5WqwIuifS9YUiHMvRLjjKk0SSCV/mpXC0BoPkk5asfxrrJbCsJePHSOE # blpJzRmzaP6OMXwRcrb7TXFQOsTkKuqkWvvYIPvVzC68UM+MskLPld1eqdOOMK7S # bbf2tGSZf3+iOwWQMcWXB9gw5gK3AIYK08WkJJuyzPqfitgubdRCmYr9CVsNOuW+ # wHDYGhciJDF2LkrjkFUjUcXSIJd9f2ssYitZ9CurGV74BQcfrxjvk1L8jvtN7mul # IwIDAQABo4IBSTCCAUUwHQYDVR0OBBYEFM/+4JiAnzY4dpEf/Zlrh1K73o9YMB8G # A1UdIwQYMBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8GA1UdHwRYMFYwVKBSoFCG # Tmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY3Jvc29mdCUy # MFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBsBggrBgEFBQcBAQRgMF4w # XAYIKwYBBQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2Vy # dHMvTWljcm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3J0MAwG # A1UdEwEB/wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQD # AgeAMA0GCSqGSIb3DQEBCwUAA4ICAQB0ofDbk+llWi1cC6nsfie5Jtp09o6b6ARC # pvtDPq2KFP+hi+UNNP7LGciKuckqXCmBTFIhfBeGSxvk6ycokdQr3815pEOaYWTn # HvQ0+8hKy86r1F4rfBu4oHB5cTy08T4ohrG/OYG/B/gNnz0Ol6v7u/qEjz48zXZ6 # ZlxKGyZwKmKZWaBd2DYEwzKpdLkBxs6A6enWZR0jY+q5FdbV45ghGTKgSr5ECAOn # LD4njJwfjIq0mRZWwDZQoXtJSaVHSu2lHQL3YHEFikunbUTJfNfBDLL7Gv+sTmRi # DZky5OAxoLG2gaTfuiFbfpmSfPcgl5COUzfMQnzpKfX6+FkI0QQNvuPpWsDU8sR+ # uni2VmDo7rmqJrom4ihgVNdLaMfNUqvBL5ZiSK1zmaELBJ9a+YOjE5pmSarW5sGb # n7iVkF2W9JQIOH6tGWLFJS5Hs36zahkoHh8iD963LeGjZqkFusKaUW72yMj/yxTe # GEDOoIr35kwXxr1Uu+zkur2y+FuNY0oZjppzp95AW1lehP0xaO+oBV1XfvaCur/B # 5PVAp2xzrosMEUcAwpJpio+VYfIufGj7meXcGQYWA8Umr8K6Auo+Jlj8IeFS6lSv # KhqQpmdBzAMGqPOQKt1Ow3ZXxehK7vAiim3ZiALlM0K546k0sZrxdZPgpmz7O8w9 # gHLuyZAQezCCB3EwggVZoAMCAQICEzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZI # hvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAw # DgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24x # MjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAy # MDEwMB4XDTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMC # VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNV # BAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRp # bWUtU3RhbXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC # AQDk4aZM57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXIyjVX9gF/bErg4r25Phdg # M/9cT8dm95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPF # dvWGUNzBRMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6 # GnszrYBbfowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBp # Dco2LXCOMcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pGve2krnopN6zL64NF50Zu # yjLVwIYwXE8s4mKyzbnijYjklqwBSru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3E # XzTdEonW/aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0 # lBw0gg/wEPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1q # GFphAXPKZ6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ # +QuJYfM2BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PA # PBXbGjfHCBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkw # EgYJKwYBBAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxG # NSnPEP8vBO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARV # MFMwUQYMKwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWlj # cm9zb2Z0LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAK # BggrBgEFBQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMC # AYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvX # zpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v # cGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYI # KwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG # 9w0BAQsFAAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0x # M7U518JxNj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmC # VgADsAW+iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449 # xvNo32X2pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wM # nosZiefwC2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDS # PeZKPmY7T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2d # Y3RILLFORy3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxn # GSgkujhLmm77IVRrakURR6nxt67I6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+Crvs # QWY9af3LwUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokL # jzbaukz5m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL # 6Xu/OHBE0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggNQ # MIICOAIBATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp # bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw # b3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEn # MCUGA1UECxMeblNoaWVsZCBUU1MgRVNOOjkyMDAtMDVFMC1EOTQ3MSUwIwYDVQQD # ExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMKAQEwBwYFKw4DAhoDFQCz # cgTnGasSwe/dru+cPe1NF/vwQ6CBgzCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w # IFBDQSAyMDEwMA0GCSqGSIb3DQEBCwUAAgUA6ugmmjAiGA8yMDI0MTEyMDA5MTI1 # OFoYDzIwMjQxMTIxMDkxMjU4WjB3MD0GCisGAQQBhFkKBAExLzAtMAoCBQDq6Caa # AgEAMAoCAQACAjF1AgH/MAcCAQACAhNsMAoCBQDq6XgaAgEAMDYGCisGAQQBhFkK # BAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMBhqAwDQYJ # KoZIhvcNAQELBQADggEBAFFlYR+/CQYUFiFskhP548dIzFYTHAcBr0buvZC1d8wb # MP2bD7EaCUnNYgekaGnO+Qs3+ONO3HE7gSXQivSWxe2kj1dJT1gaprM7RvMpEN0o # FalO1n5Tq8MqPSIZv3M4mbJDYntYhguhQtelV8Uc+5HbdvRznzgbKJjGOu71eaHw # +sh9z2CSA2wwVq9xI7rbs+nAUr/c6/98mspJ4o0nJbfOwhGc7x+FlFW48aNLaBes # J/sben92KPN2y5ZdzqrkF5FU/Qv5nGY1lqZocoIJE1e/W8+TPlgNsC8rRWItc6kJ # 7r/JudKyYnldQGb5U3bIFYXUHv2wHZZHOlgUZ910b/UxggQNMIIECQIBATCBkzB8 # MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk # bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1N # aWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAecujy+TC08b6QABAAAB # 5zANBglghkgBZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEE # MC8GCSqGSIb3DQEJBDEiBCCQFhYS8L/5Cu8T7DlwhG0m0C4ajDLitHgjzm8BSdKC # oTCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQwgb0EIOU2XQ12aob9DeDFXM9UFHeE # X74Fv0ABvQMG7qC51nOtMIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgT # Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m # dCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB # IDIwMTACEzMAAAHnLo8vkwtPG+kAAQAAAecwIgQgbU7hFRwCVCW/Sv+ZDHyZ/ukN # LqzJAfmNa31yyP1c2BcwDQYJKoZIhvcNAQELBQAEggIAbw6txVBbxC+zQiLP3dxu # 8/BTS6DI5Pbv+RzyqbfzbOAFv5+INaxAB83YkcWxYuRi20GBhGSgsNR2jJkVeV1j # WBepyuDJZ/BbM0MyJl7tUq0JHE7B8gsUXHKvOX4/OnGCzfrfy7hHsgYIRy14iRiJ # +FtDCNU7wXnDaCQeDtNbZ1A5IAb0lbC+PQeayTVWaf46na0nsl9RiJepbNRUcIfq # VBt9XcNUJxn8dlmxzNv5RaNE0k8o7nDPN7WtjBmUDqts5NWPiq2+cG9ozStIsexI # 9G8flvLnL6LI77sAg1FuaPOQH7hBvWCgqnYRay7yxVNlYohyEgixD/b6D5iGh/iw # IhK55CUpsLJ+Ft340vzlotqbTlrGhypmuqf+2LNyeKx+5FdzoxZwLkpeIHSWI1Un # DwVisqXAS3Lx59193iNQPsyjd2FNCtdwaBrfnaz+XzMXqCz8jcDMKZF8TE2h5D8g # DgE/0os8Ll147xIrvAEL5c5BpFEupl9q0BogklNF9UBHNMSu/igan/8fgsh7G+fL # JpUapLa4+MvDWMFTn2WPpAuhIZDZZ5EiHWyzlrUBOX+olf0kMr/hUux23BkKWRgP # vJZJ7TN76xC3BpFf33DKnzMrvBjTMmU5kq6utI4goeYTUWDedIpD8driR59jwXX4 # qPUCkZMItUL4PosdU7wWYNU= # SIG # End signature block |