exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.498) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis A collection of issues that happened on the service, with detailed information for each issue. .Description A collection of issues that happened on the service, with detailed information for each issue. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. .Description A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. .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" .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview -ExpandProperty "issues" .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementhealthoverview #> 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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. .Description A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementIssue -ServiceHealthIssueId $serviceHealthIssueId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementIssue .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementissue #> 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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 The zip file of all attachments for a message. .Description The zip file of all attachments for a message. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId -OutFile $outFileId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachmentarchive #> function Get-MgBetaServiceAnnouncementMessageAttachmentArchive { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 The attachment content. .Description The attachment content. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId -OutFile $outFileId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachmentcontent #> function Get-MgBetaServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 A collection of serviceAnnouncementAttachments. .Description A collection of serviceAnnouncementAttachments. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessageattachment #> 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] # key: id of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. .Description A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessage -ServiceUpdateMessageId $serviceUpdateMessageId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessage .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/get-mgbetaserviceannouncementmessage #> 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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetaarchiveserviceannouncementmessage #> 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(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(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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetafavoriteserviceannouncementmessage #> 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(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(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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetamarkserviceannouncementmessageread #> 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(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(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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetamarkserviceannouncementmessageunread #> 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(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(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 Invoke function incidentReport .Description Invoke function incidentReport .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 Invoke function incidentReport .Description Invoke function incidentReport .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Invoke-MgBetaReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetareportserviceannouncementissueincident #> function Invoke-MgBetaReportServiceAnnouncementIssueIncident { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Report', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Report', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetaunarchiveserviceannouncementmessage #> 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(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(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 .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://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/invoke-mgbetaunfavoriteserviceannouncementmessage #> 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(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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .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[]>]: Additional 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[]>: Additional 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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id 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://docs.microsoft.com/en-us/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] # key: id 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(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[]] # Additional 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(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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementHealthOverview -ExpandProperty "issues" .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth .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. [Service <String>]: The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. [Status <String>]: serviceHealthStatus .Link https://docs.microsoft.com/en-us/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(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')] [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(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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementIssue .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .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[]>]: Additional 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[]>: Additional 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://docs.microsoft.com/en-us/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(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[]] # Additional 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(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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(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(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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessage .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .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. 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[]>]: Additional 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. [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[]>: Additional 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://docs.microsoft.com/en-us/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(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')] [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[]] # Additional 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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 Delete navigation property attachments for admin .Description Delete navigation property attachments for admin .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessage .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.IO.Stream .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(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(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 Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId .Example Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement Get-MgBetaServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs System.IO.Stream .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.devices.serviceannouncement/set-mgbetaserviceannouncementmessageattachmentcontent #> function Set-MgBetaServiceAnnouncementMessageAttachmentContent { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(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(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-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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .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[]>]: Additional 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[]>: Additional 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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id 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://docs.microsoft.com/en-us/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] # key: id of serviceHealth ${ServiceHealthId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(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[]] # Additional 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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealth .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. [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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id 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(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')] [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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceHealthIssue .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[]>]: Additional 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[]>: Additional 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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id 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://docs.microsoft.com/en-us/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] # key: id 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(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[]] # Additional 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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceAnnouncementAttachment .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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id of serviceUpdateMessage .Link https://docs.microsoft.com/en-us/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] # key: id of serviceAnnouncementAttachment ${ServiceAnnouncementAttachmentId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id 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(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(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 PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IDevicesServiceAnnouncementIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphServiceUpdateMessage .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. 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[]>]: Additional 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. [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[]>: Additional 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>]: key: id of serviceAnnouncementAttachment [ServiceHealthId <String>]: key: id of serviceHealth [ServiceHealthIssueId <String>]: key: id of serviceHealthIssue [ServiceUpdateMessageId <String>]: key: id 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://docs.microsoft.com/en-us/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] # key: id 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(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')] [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[]] # Additional 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(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 # MIInogYJKoZIhvcNAQcCoIInkzCCJ48CAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCDmaJjuoGYcEpG # iAWH2YZwdG12vKKesXzJyCs1EEyfo6CCDYUwggYDMIID66ADAgECAhMzAAACzfNk # v/jUTF1RAAAAAALNMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjIwNTEyMjA0N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