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 Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Description Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Qu5FucAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1Qu5FucAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/add-mgbetawindowsupdatesdeploymentaudienceexclusionmemberbyid #> function Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById { [Alias('Add-MgBetaWuDeploymentAudienceExclusionMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Qu5FucAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Add = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_Add'; AddExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_AddViaIdentityExpanded'; } $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 Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Description Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1K7YvheAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1K7YvheAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/add-mgbetawindowsupdatesdeploymentaudiencememberbyid #> function Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById { [Alias('Add-MgBetaWuDeploymentAudienceMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1K7YvheAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Add = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById_Add'; AddExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById_AddViaIdentityExpanded'; } $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 Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add **updatableAssetGroup** resources as members. Adding an Azure AD device as a member of an updatable asset group automatically creates an **azureADDevice** object, if it does not already exist. You can also use the method addMembersById to add members. .Description Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add **updatableAssetGroup** resources as members. Adding an Azure AD device as a member of an updatable asset group automatically creates an **azureADDevice** object, if it does not already exist. You can also use the method addMembersById to add members. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsWx3DylAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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. ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODYPARAMETER <IPathsWx3DylAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/add-mgbetawindowsupdatesdeploymentaudiencemember #> function Add-MgBetaWindowsUpdatesDeploymentAudienceMember { [Alias('Add-MgBetaWuDeploymentAudienceMember')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsWx3DylAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ASSETS properties and create a hash table. ${Assets}, [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 = @{ Add = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMember_Add'; AddExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMember_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMember_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesDeploymentAudienceMember_AddViaIdentityExpanded'; } $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 Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Description Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ Ids = @( "String" "String" "String" ) MemberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" } Add-MgBetaWindowsUpdatesUpdatableAssetMemberById -UpdatableAssetId $updatableAssetId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsHfkndjAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPathsHfkndjAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/add-mgbetawindowsupdatesupdatableassetmemberbyid #> function Add-MgBetaWindowsUpdatesUpdatableAssetMemberById { [Alias('Add-MgBetaWuUpdatableAssetMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsHfkndjAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Add = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMemberById_Add'; AddExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMemberById_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMemberById_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMemberById_AddViaIdentityExpanded'; } $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 Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add **updatableAssetGroup** resources as members. Adding an Azure AD device as a member of an updatable asset group automatically creates an **azureADDevice** object, if it does not already exist. You can also use the method addMembersById to add members. .Description Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add **updatableAssetGroup** resources as members. Adding an Azure AD device as a member of an updatable asset group automatically creates an **azureADDevice** object, if it does not already exist. You can also use the method addMembersById to add members. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ Assets = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) } Add-MgBetaWindowsUpdatesUpdatableAssetMember -UpdatableAssetId $updatableAssetId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsH2EvdrAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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. ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODYPARAMETER <IPathsH2EvdrAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/add-mgbetawindowsupdatesupdatableassetmember #> function Add-MgBetaWindowsUpdatesUpdatableAssetMember { [Alias('Add-MgBetaWuUpdatableAssetMember')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsH2EvdrAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesAddmembersPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ASSETS properties and create a hash table. ${Assets}, [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 = @{ Add = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMember_Add'; AddExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMember_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMember_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Add-MgBetaWindowsUpdatesUpdatableAssetMember_AddViaIdentityExpanded'; } $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 Lists the content that you can approve for deployment. Read-only. .Description Lists the content that you can approve for deployment. Read-only. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesCatalogEntry .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesCatalogEntry .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatescatalogentry #> function Get-MgBetaWindowsUpdatesCatalogEntry { [Alias('Get-MgBetaWuCatalogEntry')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesCatalogEntry])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of catalogEntry ${CatalogEntryId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesCatalogEntry_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesCatalogEntry_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesCatalogEntry_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 Specifies the assets to exclude from the audience. .Description Specifies the assets to exclude from the audience. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesDeploymentAudienceExclusion -DeploymentId $deploymentId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset .Outputs System.String .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatesdeploymentaudienceexclusion #> function Get-MgBetaWindowsUpdatesDeploymentAudienceExclusion { [Alias('Get-MgBetaWuDeploymentAudienceExclusion')] [OutputType([System.String], [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset])] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceExclusion_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceExclusion_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceExclusion_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 Specifies the assets to include in the audience. .Description Specifies the assets to include in the audience. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesDeploymentAudienceMember -DeploymentId $deploymentId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset .Outputs System.String .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatesdeploymentaudiencemember #> function Get-MgBetaWindowsUpdatesDeploymentAudienceMember { [Alias('Get-MgBetaWuDeploymentAudienceMember')] [OutputType([System.String], [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset])] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceMember_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceMember_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeploymentAudienceMember_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 Deployments created using the deployment service. .Description Deployments created using the deployment service. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesDeployment -DeploymentId $deploymentId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesDeployment .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatesdeployment #> function Get-MgBetaWindowsUpdatesDeployment { [Alias('Get-MgBetaWuDeployment')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeployment_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeployment_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesDeployment_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 Specifies the audience to target. .Description Specifies the audience to target. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatespolicyaudience #> function Get-MgBetaWindowsUpdatesPolicyAudience { [Alias('Get-MgBetaWuPolicyAudience')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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(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 = @{ Get = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyAudience_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyAudience_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 policy this compliance change is a member of. .Description The policy this compliance change is a member of. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatespolicycompliancechangeupdatepolicy #> function Get-MgBetaWindowsUpdatesPolicyComplianceChangeUpdatePolicy { [Alias('Get-MgBetaWuPolicyComplianceChangeUpdatePolicy')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of complianceChange ${ComplianceChangeId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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(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 = @{ Get = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyComplianceChangeUpdatePolicy_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyComplianceChangeUpdatePolicy_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 Compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. .Description Compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatespolicycompliancechange #> function Get-MgBetaWindowsUpdatesPolicyComplianceChange { [Alias('Get-MgBetaWuPolicyComplianceChange')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of complianceChange ${ComplianceChangeId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyComplianceChange_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyComplianceChange_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicyComplianceChange_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 policies for approving the deployment of different content to an audience over time. .Description A collection of policies for approving the deployment of different content to an audience over time. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatespolicy #> function Get-MgBetaWindowsUpdatesPolicy { [Alias('Get-MgBetaWuPolicy')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicy_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicy_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesPolicy_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 Service connections to external resources such as analytics workspaces. .Description Service connections to external resources such as analytics workspaces. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesResourceConnection -ResourceConnectionId $resourceConnectionId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesResourceConnection -ResourceConnectionId $resourceConnectionId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesResourceConnection -ResourceConnectionId $resourceConnectionId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesResourceConnection .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatesresourceconnection #> function Get-MgBetaWindowsUpdatesResourceConnection { [Alias('Get-MgBetaWuResourceConnection')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of resourceConnection ${ResourceConnectionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesResourceConnection_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesResourceConnection_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesResourceConnection_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 Assets registered with the deployment service that can receive updates. .Description Assets registered with the deployment service that can receive updates. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -Filter "isof('microsoft.graph.windowsUpdates.azureADDevice')" .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -OutFile $outFileId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Get-MgBetaWindowsUpdatesUpdatableAsset -Filter "isof('microsoft.graph.windowsUpdates.updatableAssetGroup')" .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset .Outputs System.String .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/get-mgbetawindowsupdatesupdatableasset #> function Get-MgBetaWindowsUpdatesUpdatableAsset { [Alias('Get-MgBetaWuUpdatableAsset')] [OutputType([System.String], [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Get-MgBetaWindowsUpdatesUpdatableAsset_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesUpdatableAsset_GetViaIdentity'; List = 'Microsoft.Graph.Beta.WindowsUpdates.private\Get-MgBetaWindowsUpdatesUpdatableAsset_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 Invoke action enrollAssetsById .Description Invoke action enrollAssetsById .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsUi9WwcAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPathsUi9WwcAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory BODYPARAMETER <IPathsUi9WwcAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetaenrollwindowsupdatesdeploymentaudienceexclusionassetbyid #> function Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceExclusionAssetById { [Alias('Invoke-MgBetaEnrollWuDeploymentAudienceExclusionAssetGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='EnrollExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Enroll', Mandatory)] [Parameter(ParameterSetName='EnrollExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='EnrollViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='EnrollViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Enroll', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsUi9WwcAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [Parameter(ParameterSetName='EnrollViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsUi9WwcAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [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 = @{ Enroll = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceExclusionAssetById_Enroll'; EnrollExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceExclusionAssetById_EnrollExpanded'; EnrollViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceExclusionAssetById_EnrollViaIdentity'; EnrollViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceExclusionAssetById_EnrollViaIdentityExpanded'; } $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 action enrollAssetsById .Description Invoke action enrollAssetsById .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Cgy4T7AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1Cgy4T7AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory BODYPARAMETER <IPaths1Cgy4T7AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetaenrollwindowsupdatesdeploymentaudiencememberassetbyid #> function Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceMemberAssetById { [Alias('Invoke-MgBetaEnrollWuDeploymentAudienceMemberAssetGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='EnrollExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Enroll', Mandatory)] [Parameter(ParameterSetName='EnrollExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='EnrollViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='EnrollViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Enroll', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Cgy4T7AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='EnrollExpanded')] [Parameter(ParameterSetName='EnrollViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [Parameter(ParameterSetName='EnrollViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Cgy4T7AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [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 = @{ Enroll = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceMemberAssetById_Enroll'; EnrollExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceMemberAssetById_EnrollExpanded'; EnrollViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceMemberAssetById_EnrollViaIdentity'; EnrollViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesDeploymentAudienceMemberAssetById_EnrollViaIdentityExpanded'; } $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 action enrollAssetsById .Description Invoke action enrollAssetsById .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ UpdateCategory = "feature" MemberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" Ids = @( "String" "String" "String" ) } Invoke-MgBetaEnrollWindowsUpdatesUpdatableAssetById -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths134Mc7AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema .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 <IPaths134Mc7AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetaenrollwindowsupdatesupdatableassetbyid #> function Invoke-MgBetaEnrollWindowsUpdatesUpdatableAssetById { [Alias('Invoke-MgBetaEnrollWuUpdatableAssetGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='EnrollExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Enroll', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths134Mc7AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='EnrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='EnrollExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='EnrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='EnrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [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 = @{ Enroll = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesUpdatableAssetById_Enroll'; EnrollExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesUpdatableAssetById_EnrollExpanded'; } $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 action enrollAssets .Description Invoke action enrollAssets .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ UpdateCategory = "String" Assets = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) } Invoke-MgBetaEnrollWindowsUpdatesUpdatableAsset -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1T34IjjAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema .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. ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODY <IPaths1T34IjjAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [UpdateCategory <String>]: updateCategory .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetaenrollwindowsupdatesupdatableasset #> function Invoke-MgBetaEnrollWindowsUpdatesUpdatableAsset { [Alias('Invoke-MgBetaEnrollWuUpdatableAsset')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='EnrollExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Enroll', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1T34IjjAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='EnrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='EnrollExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ASSETS properties and create a hash table. ${Assets}, [Parameter(ParameterSetName='EnrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [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 = @{ Enroll = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesUpdatableAsset_Enroll'; EnrollExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaEnrollWindowsUpdatesUpdatableAsset_EnrollExpanded'; } $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 action unenrollAssetsById .Description Invoke action unenrollAssetsById .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths17VgwvAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths17VgwvAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory BODYPARAMETER <IPaths17VgwvAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetagraphwindowsupdatesdeploymentaudienceexclusion #> function Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceExclusion { [Alias('Invoke-MgBetaGraphWuDeploymentAudienceExclusion')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='GraphExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Graph', Mandatory)] [Parameter(ParameterSetName='GraphExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='GraphViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GraphViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Graph', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths17VgwvAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [Parameter(ParameterSetName='GraphViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths17VgwvAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [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 = @{ Graph = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceExclusion_Graph'; GraphExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceExclusion_GraphExpanded'; GraphViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceExclusion_GraphViaIdentity'; GraphViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceExclusion_GraphViaIdentityExpanded'; } $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 action unenrollAssetsById .Description Invoke action unenrollAssetsById .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1T38YsrAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1T38YsrAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory BODYPARAMETER <IPaths1T38YsrAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetagraphwindowsupdatesdeploymentaudiencemember #> function Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceMember { [Alias('Invoke-MgBetaGraphWuDeploymentAudienceMember')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='GraphExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Graph', Mandatory)] [Parameter(ParameterSetName='GraphExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='GraphViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GraphViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Graph', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1T38YsrAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='GraphExpanded')] [Parameter(ParameterSetName='GraphViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [Parameter(ParameterSetName='GraphViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1T38YsrAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [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 = @{ Graph = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceMember_Graph'; GraphExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceMember_GraphExpanded'; GraphViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceMember_GraphViaIdentity'; GraphViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesDeploymentAudienceMember_GraphViaIdentityExpanded'; } $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 action unenrollAssetsById .Description Invoke action unenrollAssetsById .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ UpdateCategory = "feature" MemberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" Ids = @( "String" "String" "String" ) } Invoke-MgBetaGraphWindowsUpdatesUpdatableAsset -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths4Wme8AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema .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 <IPaths4Wme8AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: [UpdateCategory <String>]: updateCategory .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetagraphwindowsupdatesupdatableasset #> function Invoke-MgBetaGraphWindowsUpdatesUpdatableAsset { [Alias('Invoke-MgBetaGraphWuUpdatableAsset')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='GraphExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Graph', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths4Wme8AdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='GraphExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='GraphExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='GraphExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [Parameter(ParameterSetName='GraphExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [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 = @{ Graph = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesUpdatableAsset_Graph'; GraphExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaGraphWindowsUpdatesUpdatableAsset_GraphExpanded'; } $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 action unenrollAssets .Description Invoke action unenrollAssets .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ UpdateCategory = "String" Assets = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) } Invoke-MgBetaUnenrollWindowsUpdatesUpdatableAsset -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsP6Z74XAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsPostRequestbodyContentApplicationJsonSchema .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. ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODY <IPathsP6Z74XAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [UpdateCategory <String>]: updateCategory .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/invoke-mgbetaunenrollwindowsupdatesupdatableasset #> function Invoke-MgBetaUnenrollWindowsUpdatesUpdatableAsset { [Alias('Invoke-MgBetaUnenrollWuUpdatableAsset')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UnenrollExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unenroll', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsP6Z74XAdminWindowsUpdatesUpdatableassetsMicrosoftGraphWindowsupdatesUnenrollassetsPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='UnenrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UnenrollExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ASSETS properties and create a hash table. ${Assets}, [Parameter(ParameterSetName='UnenrollExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # updateCategory ${UpdateCategory}, [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 = @{ Unenroll = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaUnenrollWindowsUpdatesUpdatableAsset_Unenroll'; UnenrollExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Invoke-MgBetaUnenrollWindowsUpdatesUpdatableAsset_UnenrollExpanded'; } $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 a new deployment object. .Description Create a new deployment object. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ "@odata.type" = "#microsoft.graph.windowsUpdates.deployment" Content = @{ "@odata.type" = "microsoft.graph.windowsUpdates.featureUpdateReference" Version = "20H2" } Settings = @{ "@odata.type" = "microsoft.graph.windowsUpdates.windowsDeploymentSettings" Rollout = @{ DevicesPerOffer = 100 } Monitoring = @{ MonitoringRules = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.monitoringRule" Signal = "rollback" Threshold = 5 Action = "pauseDeployment" } ) } } } New-MgBetaWindowsUpdatesDeployment -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment .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. AUDIENCE <IMicrosoftGraphWindowsUpdatesDeploymentAudience>: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. BODYPARAMETER <IMicrosoftGraphWindowsUpdatesDeployment>: deployment [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [Content <IMicrosoftGraphWindowsUpdatesDeployableContent>]: deployableContent [(Any) <Object>]: This indicates any property can be added to this object. [CreatedDateTime <DateTime?>]: The date and time the deployment was created. Returned by default. Read-only. [LastModifiedDateTime <DateTime?>]: The date and time the deployment was last modified. Returned by default. Read-only. [Settings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. [State <IMicrosoftGraphWindowsUpdatesDeploymentState>]: deploymentState [(Any) <Object>]: This indicates any property can be added to this object. [EffectiveValue <String>]: deploymentStateValue [Reasons <IMicrosoftGraphWindowsUpdatesDeploymentStateReason[]>]: Specifies the reasons the deployment has its state value. Read-only. [Value <String>]: deploymentStateReasonValue [RequestedValue <String>]: requestedDeploymentStateValue SETTINGS <IMicrosoftGraphWindowsUpdatesDeploymentSettings>: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. STATE <IMicrosoftGraphWindowsUpdatesDeploymentState>: deploymentState [(Any) <Object>]: This indicates any property can be added to this object. [EffectiveValue <String>]: deploymentStateValue [Reasons <IMicrosoftGraphWindowsUpdatesDeploymentStateReason[]>]: Specifies the reasons the deployment has its state value. Read-only. [Value <String>]: deploymentStateReasonValue [RequestedValue <String>]: requestedDeploymentStateValue .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/new-mgbetawindowsupdatesdeployment #> function New-MgBetaWindowsUpdatesDeployment { [Alias('New-MgBetaWuDeployment')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment])] [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.IMicrosoftGraphWindowsUpdatesDeployment] # deployment # 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')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience] # deploymentAudience # To construct, see NOTES section for AUDIENCE properties and create a hash table. ${Audience}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Runtime.Info(PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployableContent]))] [System.Collections.Hashtable] # deployableContent ${Content}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time the deployment was created. # Returned by default. # Read-only. ${CreatedDateTime}, [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.DateTime] # The date and time the deployment was last modified. # Returned by default. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentSettings] # deploymentSettings # To construct, see NOTES section for SETTINGS properties and create a hash table. ${Settings}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentState] # deploymentState # To construct, see NOTES section for STATE properties and create a hash table. ${State}, [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.WindowsUpdates.private\New-MgBetaWindowsUpdatesDeployment_Create'; CreateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesDeployment_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 a new contentApproval object. .Description Create a new contentApproval object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange .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 <IMicrosoftGraphWindowsUpdatesComplianceChange>: complianceChange [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time when a compliance change was created. [IsRevoked <Boolean?>]: True indicates that a compliance change is revoked, preventing further application. Revoking a compliance change is a final action. [RevokedDateTime <DateTime?>]: The date and time when the compliance change was revoked. [UpdatePolicy <IMicrosoftGraphWindowsUpdatesUpdatePolicy>]: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy UPDATEPOLICY <IMicrosoftGraphWindowsUpdatesUpdatePolicy>: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/new-mgbetawindowsupdatespolicycompliancechange #> function New-MgBetaWindowsUpdatesPolicyComplianceChange { [Alias('New-MgBetaWuPolicyComplianceChange')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange])] [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 updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IMicrosoftGraphWindowsUpdatesComplianceChange] # complianceChange # 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.DateTime] # The date and time when a compliance change was created. ${CreatedDateTime}, [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.Management.Automation.SwitchParameter] # True indicates that a compliance change is revoked, preventing further application. # Revoking a compliance change is a final action. ${IsRevoked}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time when the compliance change was revoked. ${RevokedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy] # updatePolicy # To construct, see NOTES section for UPDATEPOLICY properties and create a hash table. ${UpdatePolicy}, [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.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicyComplianceChange_Create'; CreateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicyComplianceChange_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicyComplianceChange_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicyComplianceChange_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 a new updatePolicy object. .Description Create a new updatePolicy object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .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. AUDIENCE <IMicrosoftGraphWindowsUpdatesDeploymentAudience>: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. BODYPARAMETER <IMicrosoftGraphWindowsUpdatesUpdatePolicy>: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. COMPLIANCECHANGERULES <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. DEPLOYMENTSETTINGS <IMicrosoftGraphWindowsUpdatesDeploymentSettings>: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/new-mgbetawindowsupdatespolicy #> function New-MgBetaWindowsUpdatesPolicy { [Alias('New-MgBetaWuPolicy')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy])] [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.IMicrosoftGraphWindowsUpdatesUpdatePolicy] # updatePolicy # 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')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience] # deploymentAudience # To construct, see NOTES section for AUDIENCE properties and create a hash table. ${Audience}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]] # Rules for governing the automatic creation of compliance changes. # To construct, see NOTES section for COMPLIANCECHANGERULES properties and create a hash table. ${ComplianceChangeRules}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time when the update policy was created. # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. # For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. ${CreatedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentSettings] # deploymentSettings # To construct, see NOTES section for DEPLOYMENTSETTINGS properties and create a hash table. ${DeploymentSettings}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [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.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicy_Create'; CreateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesPolicy_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 a new operationalInsightsConnection object. .Description Create a new operationalInsightsConnection object. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ "@odata.type" = "#microsoft.graph.windowsUpdates.operationalInsightsConnection" AzureSubscriptionId = "322ec614-e9c2-4cd5-a55c-5711fdecf02e" AzureResourceGroupName = "target-resource-group" WorkspaceName = "my-workspace" } New-MgBetaWindowsUpdatesResourceConnection -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection .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 <IMicrosoftGraphWindowsUpdatesResourceConnection>: resourceConnection [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [State <String>]: resourceConnectionState .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/new-mgbetawindowsupdatesresourceconnection #> function New-MgBetaWindowsUpdatesResourceConnection { [Alias('New-MgBetaWuResourceConnection')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection])] [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.IMicrosoftGraphWindowsUpdatesResourceConnection] # resourceConnection # 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] # resourceConnectionState ${State}, [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.WindowsUpdates.private\New-MgBetaWindowsUpdatesResourceConnection_Create'; CreateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesResourceConnection_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 a new updatableAssetGroup object. The **updatableAssetGroup** resource inherits from updatableAsset. .Description Create a new updatableAssetGroup object. The **updatableAssetGroup** resource inherits from updatableAsset. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ "@odata.type" = "#microsoft.graph.windowsUpdates.updatableAssetGroup" } New-MgBetaWindowsUpdatesUpdatableAsset -BodyParameter $params .Inputs System.Collections.Hashtable .Outputs System.String .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/new-mgbetawindowsupdatesupdatableasset #> function New-MgBetaWindowsUpdatesUpdatableAsset { [Alias('New-MgBetaWuUpdatableAsset')] [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Runtime.Info(Required, PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset]))] [System.Collections.Hashtable] # updatableAsset ${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(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.WindowsUpdates.private\New-MgBetaWindowsUpdatesUpdatableAsset_Create'; CreateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\New-MgBetaWindowsUpdatesUpdatableAsset_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 Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Description Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsVhkrfxAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPathsVhkrfxAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesdeploymentaudienceexclusionmemberbyid #> function Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById { [Alias('Remove-MgBetaWuDeploymentAudienceExclusionMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Remove', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPathsVhkrfxAdminWindowsUpdatesDeploymentsDeploymentIdAudienceExclusionsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Remove = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_Remove'; RemoveExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_RemoveExpanded'; RemoveViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_RemoveViaIdentity'; RemoveViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById_RemoveViaIdentityExpanded'; } $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 members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Description Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Xlrv16AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1Xlrv16AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesdeploymentaudiencememberbyid #> function Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById { [Alias('Remove-MgBetaWuDeploymentAudienceMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of deployment ${DeploymentId}, [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Remove', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Xlrv16AdminWindowsUpdatesDeploymentsDeploymentIdAudienceMembersUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Remove = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById_Remove'; RemoveExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById_RemoveExpanded'; RemoveViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById_RemoveViaIdentity'; RemoveViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById_RemoveViaIdentityExpanded'; } $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 deployments for admin .Description Delete navigation property deployments for admin .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesDeployment -DeploymentId $deploymentId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesdeployment #> function Remove-MgBetaWindowsUpdatesDeployment { [Alias('Remove-MgBetaWuDeployment')] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeployment_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesDeployment_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 complianceChanges for admin .Description Delete navigation property complianceChanges for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatespolicycompliancechange #> function Remove-MgBetaWindowsUpdatesPolicyComplianceChange { [Alias('Remove-MgBetaWuPolicyComplianceChange')] [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 complianceChange ${ComplianceChangeId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesPolicyComplianceChange_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesPolicyComplianceChange_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 updatePolicies for admin .Description Delete navigation property updatePolicies for admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatespolicy #> function Remove-MgBetaWindowsUpdatesPolicy { [Alias('Remove-MgBetaWuPolicy')] [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 updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesPolicy_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesPolicy_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 resourceConnections for admin .Description Delete navigation property resourceConnections for admin .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesResourceConnection -ResourceConnectionId $resourceConnectionId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesResourceConnection -ResourceConnectionId $resourceConnectionId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesresourceconnection #> function Remove-MgBetaWindowsUpdatesResourceConnection { [Alias('Remove-MgBetaWuResourceConnection')] [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 resourceConnection ${ResourceConnectionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesResourceConnection_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesResourceConnection_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 Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Description Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ Ids = @( "String" "String" "String" ) MemberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" } Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById -UpdatableAssetId $updatableAssetId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Kqj7RfAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1Kqj7RfAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Ids <String[]>]: [MemberEntityType <String>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesupdatableassetmemberbyid #> function Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById { [Alias('Remove-MgBetaWuUpdatableAssetMemberGraphBPreId')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Remove', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Kqj7RfAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersbyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${Ids}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # . ${MemberEntityType}, [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 = @{ Remove = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById_Remove'; RemoveExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById_RemoveExpanded'; RemoveViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById_RemoveViaIdentity'; RemoveViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById_RemoveViaIdentityExpanded'; } $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 members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. .Description Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ Assets = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) } Remove-MgBetaWindowsUpdatesUpdatableAssetMember -UpdatableAssetId $updatableAssetId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Tnhm2YAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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. ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODYPARAMETER <IPaths1Tnhm2YAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesupdatableassetmember #> function Remove-MgBetaWindowsUpdatesUpdatableAssetMember { [Alias('Remove-MgBetaWuUpdatableAssetMember')] [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Remove', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Tnhm2YAdminWindowsUpdatesUpdatableassetsUpdatableassetIdMicrosoftGraphWindowsupdatesRemovemembersPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='RemoveExpanded')] [Parameter(ParameterSetName='RemoveViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ASSETS properties and create a hash table. ${Assets}, [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 = @{ Remove = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMember_Remove'; RemoveExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMember_RemoveExpanded'; RemoveViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMember_RemoveViaIdentity'; RemoveViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAssetMember_RemoveViaIdentityExpanded'; } $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 updatableAssets for admin .Description Delete navigation property updatableAssets for admin .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates Remove-MgBetaWindowsUpdatesUpdatableAsset -UpdatableAssetId $updatableAssetId .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/remove-mgbetawindowsupdatesupdatableasset #> function Remove-MgBetaWindowsUpdatesUpdatableAsset { [Alias('Remove-MgBetaWuUpdatableAsset')] [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 updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAsset_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Remove-MgBetaWindowsUpdatesUpdatableAsset_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 Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates an Azure AD device object if it does not already exist. If the same updatableAsset gets included in the **exclusions** and **members** collections of a **deploymentAudience**, deployment will not apply to that asset. You can also use the method updateAudience to update the **deploymentAudience**. .Description Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates an Azure AD device object if it does not already exist. If the same updatableAsset gets included in the **exclusions** and **members** collections of a **deploymentAudience**, deployment will not apply to that asset. You can also use the method updateAudience to update the **deploymentAudience**. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ MemberEntityType = "String" AddMembers = @( "String" ) RemoveMembers = @( "String" ) AddExclusions = @( "String" ) RemoveExclusions = @( "String" ) } Update-MgBetaWindowsUpdatesDeploymentAudienceById -DeploymentId $deploymentId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Yczx1TAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencebyidPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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 <IPaths1Yczx1TAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencebyidPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [AddExclusions <String[]>]: [AddMembers <String[]>]: [MemberEntityType <String>]: [RemoveExclusions <String[]>]: [RemoveMembers <String[]>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatesdeploymentaudiencebyid #> function Update-MgBetaWindowsUpdatesDeploymentAudienceById { [Alias('Update-MgBetaWuDeploymentAudienceGraphBPreId')] [OutputType([System.Boolean])] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IPaths1Yczx1TAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencebyidPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${AddExclusions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${AddMembers}, [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] # . ${MemberEntityType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${RemoveExclusions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # . ${RemoveMembers}, [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 = @{ Update = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudienceById_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudienceById_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudienceById_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudienceById_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 members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates an Azure AD device object, if it does not already exist. If the same updatableAsset gets included in the **exclusions** and **members** collections of a **deploymentAudience**, deployment will not apply to that asset. If all **updatableAsset** objects are the same type, you can also use the method updateAudienceById to update the **deploymentAudience**. .Description Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates an Azure AD device object, if it does not already exist. If the same updatableAsset gets included in the **exclusions** and **members** collections of a **deploymentAudience**, deployment will not apply to that asset. If all **updatableAsset** objects are the same type, you can also use the method updateAudienceById to update the **deploymentAudience**. .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ AddMembers = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) RemoveMembers = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) AddExclusions = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) RemoveExclusions = @( @{ "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" Id = "String (identifier)" } ) } Update-MgBetaWindowsUpdatesDeploymentAudience -DeploymentId $deploymentId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPathsGxoqhAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencePostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .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. ADDEXCLUSIONS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. ADDMEMBERS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. BODYPARAMETER <IPathsGxoqhAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencePostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [AddExclusions <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [AddMembers <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [RemoveExclusions <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: [RemoveMembers <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]: INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy REMOVEEXCLUSIONS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. REMOVEMEMBERS <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>: . [Id <String>]: The unique identifier for an entity. Read-only. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatesdeploymentaudience #> function Update-MgBetaWindowsUpdatesDeploymentAudience { [Alias('Update-MgBetaWuDeploymentAudience')] [OutputType([System.Boolean])] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IPathsGxoqhAdminWindowsUpdatesDeploymentsDeploymentIdAudienceMicrosoftGraphWindowsupdatesUpdateaudiencePostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ADDEXCLUSIONS properties and create a hash table. ${AddExclusions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for ADDMEMBERS properties and create a hash table. ${AddMembers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for REMOVEEXCLUSIONS properties and create a hash table. ${RemoveExclusions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset[]] # . # To construct, see NOTES section for REMOVEMEMBERS properties and create a hash table. ${RemoveMembers}, [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 = @{ Update = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudience_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudience_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudience_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeploymentAudience_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 deployments in admin .Description Update the navigation property deployments in admin .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ "@odata.type" = "#microsoft.graph.windowsUpdates.deployment" State = @{ "@odata.type" = "microsoft.graph.windowsUpdates.deploymentState" RequestedValue = "paused" } } Update-MgBetaWindowsUpdatesDeployment -DeploymentId $deploymentId -BodyParameter $params .Example Import-Module Microsoft.Graph.Beta.WindowsUpdates $params = @{ "@odata.type" = "#microsoft.graph.windowsUpdates.deployment" Settings = @{ "@odata.type" = "microsoft.graph.windowsUpdates.windowsDeploymentSettings" Monitoring = @{ MonitoringRules = @( @{ Signal = "rollback" Threshold = 5 Action = "pauseDeployment" } ) } } } Update-MgBetaWindowsUpdatesDeployment -DeploymentId $deploymentId -BodyParameter $params .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment .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. AUDIENCE <IMicrosoftGraphWindowsUpdatesDeploymentAudience>: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. BODYPARAMETER <IMicrosoftGraphWindowsUpdatesDeployment>: deployment [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [Content <IMicrosoftGraphWindowsUpdatesDeployableContent>]: deployableContent [(Any) <Object>]: This indicates any property can be added to this object. [CreatedDateTime <DateTime?>]: The date and time the deployment was created. Returned by default. Read-only. [LastModifiedDateTime <DateTime?>]: The date and time the deployment was last modified. Returned by default. Read-only. [Settings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. [State <IMicrosoftGraphWindowsUpdatesDeploymentState>]: deploymentState [(Any) <Object>]: This indicates any property can be added to this object. [EffectiveValue <String>]: deploymentStateValue [Reasons <IMicrosoftGraphWindowsUpdatesDeploymentStateReason[]>]: Specifies the reasons the deployment has its state value. Read-only. [Value <String>]: deploymentStateReasonValue [RequestedValue <String>]: requestedDeploymentStateValue INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy SETTINGS <IMicrosoftGraphWindowsUpdatesDeploymentSettings>: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. STATE <IMicrosoftGraphWindowsUpdatesDeploymentState>: deploymentState [(Any) <Object>]: This indicates any property can be added to this object. [EffectiveValue <String>]: deploymentStateValue [Reasons <IMicrosoftGraphWindowsUpdatesDeploymentStateReason[]>]: Specifies the reasons the deployment has its state value. Read-only. [Value <String>]: deploymentStateReasonValue [RequestedValue <String>]: requestedDeploymentStateValue .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatesdeployment #> function Update-MgBetaWindowsUpdatesDeployment { [Alias('Update-MgBetaWuDeployment')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployment])] [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 deployment ${DeploymentId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IMicrosoftGraphWindowsUpdatesDeployment] # deployment # 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')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience] # deploymentAudience # To construct, see NOTES section for AUDIENCE properties and create a hash table. ${Audience}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Runtime.Info(PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeployableContent]))] [System.Collections.Hashtable] # deployableContent ${Content}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time the deployment was created. # Returned by default. # Read-only. ${CreatedDateTime}, [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] # The date and time the deployment was last modified. # Returned by default. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentSettings] # deploymentSettings # To construct, see NOTES section for SETTINGS properties and create a hash table. ${Settings}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentState] # deploymentState # To construct, see NOTES section for STATE properties and create a hash table. ${State}, [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.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeployment_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeployment_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeployment_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesDeployment_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 complianceChanges in admin .Description Update the navigation property complianceChanges in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange .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 <IMicrosoftGraphWindowsUpdatesComplianceChange>: complianceChange [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time when a compliance change was created. [IsRevoked <Boolean?>]: True indicates that a compliance change is revoked, preventing further application. Revoking a compliance change is a final action. [RevokedDateTime <DateTime?>]: The date and time when the compliance change was revoked. [UpdatePolicy <IMicrosoftGraphWindowsUpdatesUpdatePolicy>]: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy UPDATEPOLICY <IMicrosoftGraphWindowsUpdatesUpdatePolicy>: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatespolicycompliancechange #> function Update-MgBetaWindowsUpdatesPolicyComplianceChange { [Alias('Update-MgBetaWuPolicyComplianceChange')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChange])] [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 complianceChange ${ComplianceChangeId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IMicrosoftGraphWindowsUpdatesComplianceChange] # complianceChange # 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.DateTime] # The date and time when a compliance change was created. ${CreatedDateTime}, [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] # True indicates that a compliance change is revoked, preventing further application. # Revoking a compliance change is a final action. ${IsRevoked}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time when the compliance change was revoked. ${RevokedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy] # updatePolicy # To construct, see NOTES section for UPDATEPOLICY properties and create a hash table. ${UpdatePolicy}, [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.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicyComplianceChange_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicyComplianceChange_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicyComplianceChange_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicyComplianceChange_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 updatePolicies in admin .Description Update the navigation property updatePolicies in admin .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy .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. AUDIENCE <IMicrosoftGraphWindowsUpdatesDeploymentAudience>: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. BODYPARAMETER <IMicrosoftGraphWindowsUpdatesUpdatePolicy>: updatePolicy [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Audience <IMicrosoftGraphWindowsUpdatesDeploymentAudience>]: deploymentAudience [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ApplicableContent <IMicrosoftGraphWindowsUpdatesApplicableContent[]>]: Content eligible to deploy to devices in the audience. Not nullable. Read-only. [CatalogEntry <IMicrosoftGraphWindowsUpdatesCatalogEntry>]: catalogEntry [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DeployableUntilDateTime <DateTime?>]: The date on which the content is no longer available to deploy using the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [DisplayName <String>]: The display name of the content. Read-only. [ReleaseDateTime <DateTime?>]: The release date for the content. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. [MatchedDevices <IMicrosoftGraphWindowsUpdatesApplicableContentDeviceMatch[]>]: Collection of devices and recommendations for applicable catalog content. [DeviceId <String>]: [RecommendedBy <String[]>]: Collection of vendors who recommend the content. [ComplianceChangeRules <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>]: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. [CreatedDateTime <DateTime?>]: The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentSettings <IMicrosoftGraphWindowsUpdatesDeploymentSettings>]: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. COMPLIANCECHANGERULES <IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]>: Rules for governing the automatic creation of compliance changes. [CreatedDateTime <DateTime?>]: The date and time when the rule was created. [LastEvaluatedDateTime <DateTime?>]: The date and time when the rule was last evaluated. [LastModifiedDateTime <DateTime?>]: The date and time when the rule was last modified. DEPLOYMENTSETTINGS <IMicrosoftGraphWindowsUpdatesDeploymentSettings>: deploymentSettings [(Any) <Object>]: This indicates any property can be added to this object. [ContentApplicability <IMicrosoftGraphWindowsUpdatesContentApplicabilitySettings>]: contentApplicabilitySettings [(Any) <Object>]: This indicates any property can be added to this object. [OfferWhileRecommendedBy <String[]>]: Offer if the update is recommended by a vendor in the list, otherwise withhold the offer. [Safeguard <IMicrosoftGraphWindowsUpdatesSafeguardSettings>]: safeguardSettings [(Any) <Object>]: This indicates any property can be added to this object. [DisabledSafeguardProfiles <IMicrosoftGraphWindowsUpdatesSafeguardProfile[]>]: List of safeguards to ignore per device. [Category <String>]: safeguardCategory [Expedite <IMicrosoftGraphWindowsUpdatesExpediteSettings>]: expediteSettings [(Any) <Object>]: This indicates any property can be added to this object. [IsExpedited <Boolean?>]: True indicates that the deployment of the content is expedited. [Monitoring <IMicrosoftGraphWindowsUpdatesMonitoringSettings>]: monitoringSettings [(Any) <Object>]: This indicates any property can be added to this object. [MonitoringRules <IMicrosoftGraphWindowsUpdatesMonitoringRule[]>]: Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. [Action <String>]: monitoringAction [Signal <String>]: monitoringSignal [Threshold <Int32?>]: The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). [Schedule <IMicrosoftGraphWindowsUpdatesScheduleSettings>]: scheduleSettings [(Any) <Object>]: This indicates any property can be added to this object. [GradualRollout <IMicrosoftGraphWindowsUpdatesGradualRolloutSettings>]: gradualRolloutSettings [(Any) <Object>]: This indicates any property can be added to this object. [DurationBetweenOffers <TimeSpan?>]: The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). [StartDateTime <DateTime?>]: The date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [UserExperience <IMicrosoftGraphWindowsUpdatesUserExperienceSettings>]: userExperienceSettings [(Any) <Object>]: This indicates any property can be added to this object. [DaysUntilForcedReboot <Int32?>]: Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatespolicy #> function Update-MgBetaWindowsUpdatesPolicy { [Alias('Update-MgBetaWuPolicy')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatePolicy])] [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 updatePolicy ${UpdatePolicyId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IMicrosoftGraphWindowsUpdatesUpdatePolicy] # updatePolicy # 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')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentAudience] # deploymentAudience # To construct, see NOTES section for AUDIENCE properties and create a hash table. ${Audience}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesComplianceChangeRule[]] # Rules for governing the automatic creation of compliance changes. # To construct, see NOTES section for COMPLIANCECHANGERULES properties and create a hash table. ${ComplianceChangeRules}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # The date and time when the update policy was created. # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. # For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. ${CreatedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesDeploymentSettings] # deploymentSettings # To construct, see NOTES section for DEPLOYMENTSETTINGS properties and create a hash table. ${DeploymentSettings}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [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.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicy_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicy_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicy_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesPolicy_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 resourceConnections in admin .Description Update the navigation property resourceConnections 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.IMicrosoftGraphWindowsUpdatesResourceConnection .Inputs Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection .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 <IMicrosoftGraphWindowsUpdatesResourceConnection>: resourceConnection [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [State <String>]: resourceConnectionState INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatesresourceconnection #> function Update-MgBetaWindowsUpdatesResourceConnection { [Alias('Update-MgBetaWuResourceConnection')] [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesResourceConnection])] [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 resourceConnection ${ResourceConnectionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.IMicrosoftGraphWindowsUpdatesResourceConnection] # resourceConnection # 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] # resourceConnectionState ${State}, [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.WindowsUpdates.private\Update-MgBetaWindowsUpdatesResourceConnection_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesResourceConnection_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesResourceConnection_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesResourceConnection_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 updatableAssets in admin .Description Update the navigation property updatableAssets 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.IWindowsUpdatesIdentity .Inputs System.Collections.Hashtable .Outputs System.String .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 <IWindowsUpdatesIdentity>: Identity Parameter [CatalogEntryId <String>]: key: id of catalogEntry [ComplianceChangeId <String>]: key: id of complianceChange [DeploymentId <String>]: key: id of deployment [ResourceConnectionId <String>]: key: id of resourceConnection [UpdatableAssetId <String>]: key: id of updatableAsset [UpdatePolicyId <String>]: key: id of updatePolicy .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.windowsupdates/update-mgbetawindowsupdatesupdatableasset #> function Update-MgBetaWindowsUpdatesUpdatableAsset { [Alias('Update-MgBetaWuUpdatableAsset')] [OutputType([System.String])] [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 updatableAsset ${UpdatableAssetId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity] # 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.Runtime.Info(Required, PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWindowsUpdatesUpdatableAsset]))] [System.Collections.Hashtable] # updatableAsset ${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(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.WindowsUpdates.private\Update-MgBetaWindowsUpdatesUpdatableAsset_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesUpdatableAsset_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesUpdatableAsset_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.WindowsUpdates.private\Update-MgBetaWindowsUpdatesUpdatableAsset_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 # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBpMdlVx1qvt8l1 # LSR1YabrRrPYiYwljOoLfiaPf6bFG6CCDYUwggYDMIID66ADAgECAhMzAAACzfNk # v/jUTF1RAAAAAALNMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjIwNTEyMjA0NjAyWhcNMjMwNTExMjA0NjAyWjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDrIzsY62MmKrzergm7Ucnu+DuSHdgzRZVCIGi9CalFrhwtiK+3FIDzlOYbs/zz # HwuLC3hir55wVgHoaC4liQwQ60wVyR17EZPa4BQ28C5ARlxqftdp3H8RrXWbVyvQ # aUnBQVZM73XDyGV1oUPZGHGWtgdqtBUd60VjnFPICSf8pnFiit6hvSxH5IVWI0iO # nfqdXYoPWUtVUMmVqW1yBX0NtbQlSHIU6hlPvo9/uqKvkjFUFA2LbC9AWQbJmH+1 # uM0l4nDSKfCqccvdI5l3zjEk9yUSUmh1IQhDFn+5SL2JmnCF0jZEZ4f5HE7ykDP+ # oiA3Q+fhKCseg+0aEHi+DRPZAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU0WymH4CP7s1+yQktEwbcLQuR9Zww # VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh # dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzQ3MDUzMDAfBgNVHSMEGDAW # gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v # d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw # MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov # L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx # XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB # AE7LSuuNObCBWYuttxJAgilXJ92GpyV/fTiyXHZ/9LbzXs/MfKnPwRydlmA2ak0r # GWLDFh89zAWHFI8t9JLwpd/VRoVE3+WyzTIskdbBnHbf1yjo/+0tpHlnroFJdcDS # MIsH+T7z3ClY+6WnjSTetpg1Y/pLOLXZpZjYeXQiFwo9G5lzUcSd8YVQNPQAGICl # 2JRSaCNlzAdIFCF5PNKoXbJtEqDcPZ8oDrM9KdO7TqUE5VqeBe6DggY1sZYnQD+/ # LWlz5D0wCriNgGQ/TWWexMwwnEqlIwfkIcNFxo0QND/6Ya9DTAUykk2SKGSPt0kL # tHxNEn2GJvcNtfohVY/b0tuyF05eXE3cdtYZbeGoU1xQixPZAlTdtLmeFNly82uB # VbybAZ4Ut18F//UrugVQ9UUdK1uYmc+2SdRQQCccKwXGOuYgZ1ULW2u5PyfWxzo4 # BR++53OB/tZXQpz4OkgBZeqs9YaYLFfKRlQHVtmQghFHzB5v/WFonxDVlvPxy2go # a0u9Z+ZlIpvooZRvm6OtXxdAjMBcWBAsnBRr/Oj5s356EDdf2l/sLwLFYE61t+ME # iNYdy0pXL6gN3DxTVf2qjJxXFkFfjjTisndudHsguEMk8mEtnvwo9fOSKT6oRHhM # 9sZ4HTg/TTMjUljmN3mBYWAWI5ExdC1inuog0xrKmOWVMIIHejCCBWKgAwIBAgIK # YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV # BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv # c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm # aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw # OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE # BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD # VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG # 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la # UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc # 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D # dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ # lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk # kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 # A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd # X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL # 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd # sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 # T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS # 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI # bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL # BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD # uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv # c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF # BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h # cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA # YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn # 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 # v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b # pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ # KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy # CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp # mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi # hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb # BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS # oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL # gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX # cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCGXMwghlvAgEBMIGVMH4x # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p # Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAALN82S/+NRMXVEAAAAA # As0wDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw # HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIF8X # KUYJRKkGDj84U7IEUjJh9jaEUwkuzsNDH+pLJky2MEIGCisGAQQBgjcCAQwxNDAy # oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20wDQYJKoZIhvcNAQEBBQAEggEAAvbH3HJendmHaQjL/KmLda0usM4l4GvsQSly # 7KgYV8CmDAUS0mDA1ZtceoOWt6gJe9zFzEHdzDTRnd+11NrW/G+Rc/zqQsy5XcVz # kzrFZuIIXjioFFvm6KvfAYqaJIsFL0CJP40nu+8mEJYgd8C0K3MLEQ2CshBtG/Fb # SjWBTM/a9aMplo+uUDG9rvxzxPOdqpvXRkYhT3FUfLU4ftiASGH5iYYipbyfwv7O # 1Lrvy2ORWRzWOAM5Vkk4/TWJqAIxlNeHfTLYLtwfgoNBqUm6bccZ6Gjok8OvkvA0 # fB545nDkfknLpF7GFYw8z1iu6auX0zOgDplfCqwnxn5ppV4Wt6GCFv0wghb5Bgor # BgEEAYI3AwMBMYIW6TCCFuUGCSqGSIb3DQEHAqCCFtYwghbSAgEDMQ8wDQYJYIZI # AWUDBAIBBQAwggFRBgsqhkiG9w0BCRABBKCCAUAEggE8MIIBOAIBAQYKKwYBBAGE # WQoDATAxMA0GCWCGSAFlAwQCAQUABCAVIDtVTTDiZb4fPtxpgZ20IXX30eKOakRA # 8HJjCsb64AIGY+ZiucTSGBMyMDIzMDIxNDE0MDUyOS4yMjFaMASAAgH0oIHQpIHN # MIHKMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH # UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQL # ExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25zMSYwJAYDVQQLEx1UaGFsZXMg # VFNTIEVTTjoxMkJDLUUzQUUtNzRFQjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUt # U3RhbXAgU2VydmljZaCCEVQwggcMMIIE9KADAgECAhMzAAAByk/Cs+0DDRhsAAEA # AAHKMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo # aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y # cG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw # MB4XDTIyMTEwNDE5MDE0MFoXDTI0MDIwMjE5MDE0MFowgcoxCzAJBgNVBAYTAlVT # MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK # ExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJTAjBgNVBAsTHE1pY3Jvc29mdCBBbWVy # aWNhIE9wZXJhdGlvbnMxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjEyQkMtRTNB # RS03NEVCMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIIC # IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwwGcq9j50rWEkcLSlGZLweUV # fxXRaUjiPsyaNVxPdMRs3CVe58siu/EkaVt7t7PNTPko/s8lNtusAeLEnzki44yx # k2c9ekm8E1SQ2YV9b8/LOxfKapZ8tVlPyxw6DmFzNFQjifVm8EiZ7lFRoY448vpc # bBD18qjYNF/2Z3SQchcsdV1N9Y6V2WGl55VmLqFRX5+dptdjreBXzi3WW9TsoCEW # cYCBK5wYgS9tT2SSSTzae3jmdw40g+LOIyrVPF2DozkStv6JBDPvwahXWpKGpO7r # HrKF+o7ECN/ViQFMZyp/vxePiUABDNqzEUI8s7klYmeHXvjeQOq/CM3C/Y8bj3fJ # ObnZH7eAXvRDnxT8R6W/uD1mGUJvv9M9BMu3nhKpKmSxzzO5LtcMEh2tMXxhMGGN # MUP3DOEK3X+2/LD1Z03usJTk5pHNoH/gDIvbp787Cw40tsApiAvtrHYwub0TqIv8 # Zy62l8n8s/Mv/P764CTqrxcXzalBHh+Xy4XPjmadnPkZJycp3Kczbkg9QbvJp0H/ # 0FswHS+efFofpDNJwLh1hs/aMi1K/ozEv7/WLIPsDgK16fU/axybqMKk0NOxgelU # jAYKl4wU0Y6Q4q9N/9PwAS0csifQhY1ooQfAI0iDCCSEATslD8bTO0tRtqdcIdav # OReqzoPdvAv3Dr1XXQ8CAwEAAaOCATYwggEyMB0GA1UdDgQWBBT6x/6lS4ESQ8KZ # hd0RgU7RYXM8fzAfBgNVHSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNV # HR8EWDBWMFSgUqBQhk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2Ny # bC9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYI # KwYBBQUHAQEEYDBeMFwGCCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpb3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAy # MDEwKDEpLmNydDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0G # CSqGSIb3DQEBCwUAA4ICAQDY0HkqCS3KuKefFX8/rm/dtD9066dKEleNqriwZqsM # 4Ym8Ew4QiqOqO7mWoYYY4K5y8eXSOHKNXOfpO6RbaYj8jCOcJAB5tqLl5hiMgaMb # AVLrl1hlix9sloO45LON0JphKva3D6AVKA7P78mA9iRHZYUVrRiyfvQjWxmUnxhi # s8fom92+/RHcEZ1Dh5+p4gzeeL84Yl00Wyq9EcgBKKfgq0lCjWNSq1AUG1sELlgX # OSvKZ4/lXXH+MfhcHe91WLIaZkS/Hu9wdTT6I14BC97yhDsZWXAl0IJ801I6UtEF # pCsTeOyZBJ7CF0rf5lxJ8tE9ojNsyqXJKuwVn0ewCMkZqz/cEwv9FEx8QmsZ0ZNo # dTtsl+V9dZm+eUrMKZk6PKsKArtQ+jHkfVsHgKODloelpOmHqgX7UbO0NVnIlpP5 # 5gQTqV76vU7wRXpUfz7KhE3BZXNgwG05dRnCXDwrhhYz+Itbzs1K1R8I4YMDJjW9 # 0ASCg9Jf+xygRKZGKHjo2Bs2XyaKuN1P6FFCIVXN7KgHl/bZiakGq7k5TQ4OXK5x # khCHhjdgHuxj3hK5AaOy+GXxO/jbyqGRqeSxf+TTPuWhDWurIo33RMDGe5DbImjc # bcj6dVhQevqHClR1OHSfr+8m1hWRJGlC1atcOWKajArwOURqJSVlThwVgIyzGNmj # zjCCB3EwggVZoAMCAQICEzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZIhvcNAQEL # BQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH # EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNV # BAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4X # DTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMCVVMxEzAR # BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p # Y3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3Rh # bXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDk4aZM # 57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXIyjVX9gF/bErg4r25PhdgM/9cT8dm # 95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPFdvWGUNzB # RMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6GnszrYBb # fowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBpDco2LXCO # Mcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pGve2krnopN6zL64NF50ZuyjLVwIYw # XE8s4mKyzbnijYjklqwBSru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3EXzTdEonW # /aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0lBw0gg/w # EPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1qGFphAXPK # Z6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ+QuJYfM2 # BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PAPBXbGjfH # CBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkwEgYJKwYB # BAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxGNSnPEP8v # BO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARVMFMwUQYM # KwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWljcm9zb2Z0 # LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAKBggrBgEF # BQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD # VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBW # BgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny # bC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUH # AQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp # L2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG9w0BAQsF # AAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0xM7U518Jx # Nj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmCVgADsAW+ # iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449xvNo32X2 # pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wMnosZiefw # C2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDSPeZKPmY7 # T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2dY3RILLFO # Ry3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxnGSgkujhL # mm77IVRrakURR6nxt67I6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+CrvsQWY9af3L # wUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokLjzbaukz5 # m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL6Xu/OHBE # 0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggLLMIICNAIB # ATCB+KGB0KSBzTCByjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEmMCQGA1UE # CxMdVGhhbGVzIFRTUyBFU046MTJCQy1FM0FFLTc0RUIxJTAjBgNVBAMTHE1pY3Jv # c29mdCBUaW1lLVN0YW1wIFNlcnZpY2WiIwoBATAHBgUrDgMCGgMVAKOO55cMT4sy # PP6nClg2IWfajMqkoIGDMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh # c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD # b3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIw # MTAwDQYJKoZIhvcNAQEFBQACBQDnlX5eMCIYDzIwMjMwMjE0MTEyODMwWhgPMjAy # MzAyMTUxMTI4MzBaMHQwOgYKKwYBBAGEWQoEATEsMCowCgIFAOeVfl4CAQAwBwIB # AAICIYMwBwIBAAICEfgwCgIFAOeWz94CAQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYK # KwYBBAGEWQoDAqAKMAgCAQACAwehIKEKMAgCAQACAwGGoDANBgkqhkiG9w0BAQUF # AAOBgQACGKPQHtlesmOQDetpH4xnM5BssExiUdgxGWPrHZ97Ac6GoQSPIglG7rqW # diuQTzw9CEZy6/NbjPEXM946JFZ7S82W8cDiB/SVgZE4lUdWtvD11Sk6mK6+mKmK # R70MMjaxNovxvSbyIE22/GgR3xZLY+KGAAxn94QbuVyhzXqqdTGCBA0wggQJAgEB # MIGTMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH # EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV # BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAByk/Cs+0DDRhs # AAEAAAHKMA0GCWCGSAFlAwQCAQUAoIIBSjAaBgkqhkiG9w0BCQMxDQYLKoZIhvcN # AQkQAQQwLwYJKoZIhvcNAQkEMSIEICiLAyKIAfztuEDGoNXSzSQrQxTeeBms6X6c # +VOhCucCMIH6BgsqhkiG9w0BCRACLzGB6jCB5zCB5DCBvQQgEz0b85vrVU2slZAk # 4jt1SDEk6IzZAwVCoWwF3KzcGuAwgZgwgYCkfjB8MQswCQYDVQQGEwJVUzETMBEG # A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj # cm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFt # cCBQQ0EgMjAxMAITMwAAAcpPwrPtAw0YbAABAAAByjAiBCB5DuTYTp1kCkxqRuWm # oEsuza1Eif+VpjqQUfMQV5NQzTANBgkqhkiG9w0BAQsFAASCAgCIx4Ne7Kmw4OfW # 1BNMBCqZ8OnY7MfFEngTj/0hW4kgVx2r+HdpiSGhBYr7rmVZw28YY2RvBpqEOxDE # XwRryGj2CSkUfu7AV/5KzCuMtZZPHXx2IB7ar9njLGc9HIXr8PN4sFgHWgion6D2 # H77Q6NuMSBr4Pn0R9kkyEySdAii6Ga2Tnrv862hvwU2T4ZsVfIzx2ykyZ82uoI5c # BO3l9ohgOzqIIO9m3CxaPKWwju8xpEzAUmz83Xzmny/ciNF+xhpzt0JLoftaAI2/ # ZiRxOausG27hQzk9NKbu0RuhVNuh4HRd9FzuES9YcHKnct1yZlktqFdaPfJLIHIG # 4EvVwEaaOReKXRVHZk81q1qgflZSo+qg8mmpEfeI8ulxS42oOTZrvn/Poheys0vT # I0C1VnhGq/rvK/R/jr2vnaTHc7uv/V8JxFfLmKY4tsNAKnM9FIh5DGuKLTD9YKh5 # /EgrwZyk949Hf8ZLm/eclFaOw9LtVl/k1ZDDGTLm/3he3sDZeelyUylLWM8p7KhT # FeDdG6iM/CTFqrXMIcC/gNVcJQ/aCNIYtRTMr0VPkaYiNxuDL49nwoRRyLMAQwM9 # M8G7rzag8MzujqhXrKE+m5VXFZQIzSUJ8b06qbh5Bnn9t2yEyhCIJkWsozKhrc10 # f/9BrXCrli+L0lE6+d0wq3J3fl6FbQ== # SIG # End signature block |