Invoke-MgBetaEnrollWindowsUpdatesPolicyAudienceMemberAsset

Invoke action enrollAssets

Syntax

Invoke-MgBetaEnrollWindowsUpdatesPolicyAudienceMemberAsset
      -UpdatePolicyId <String>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]
      [-UpdateCategory <String>]
      [-Headers <IDictionary>]
      [-PassThru]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-MgBetaEnrollWindowsUpdatesPolicyAudienceMemberAsset
      -UpdatePolicyId <String>
      -Body <IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-PassThru]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-MgBetaEnrollWindowsUpdatesPolicyAudienceMemberAsset
      -InputObject <IWindowsUpdatesIdentity>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-Assets <IMicrosoftGraphWindowsUpdatesUpdatableAsset[]>]
      [-UpdateCategory <String>]
      [-Headers <IDictionary>]
      [-PassThru]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-MgBetaEnrollWindowsUpdatesPolicyAudienceMemberAsset
      -InputObject <IWindowsUpdatesIdentity>
      [-ResponseHeadersVariable <String>]
      -BodyParameter <IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema>
      [-Headers <IDictionary>]
      [-PassThru]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Invoke action enrollAssets

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Assets

. To construct, see NOTES section for ASSETS properties and create a hash table.

Type:IMicrosoftGraphWindowsUpdatesUpdatableAsset[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Body

. To construct, see NOTES section for BODY properties and create a hash table.

Type:IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-BodyParameter

. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IWindowsUpdatesIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

Returns true when the command succeeds

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpdateCategory

updateCategory

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpdatePolicyId

The unique identifier of updatePolicy

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema

Microsoft.Graph.Beta.PowerShell.Models.IWindowsUpdatesIdentity

System.Collections.IDictionary

Outputs

System.Boolean

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

ASSETS <IMicrosoftGraphWindowsUpdatesUpdatableAsset- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.

BODY <IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema>: .

  • [(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

BODYPARAMETER <IPaths1V9GilxAdminWindowsUpdatesUpdatepoliciesUpdatepolicyIdAudienceMembersMicrosoftGraphWindowsupdatesEnrollassetsPostRequestbodyContentApplicationJsonSchema>: .

  • [(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

INPUTOBJECT <IWindowsUpdatesIdentity>: Identity Parameter

  • [ApplicableContentCatalogEntryId <String>]: The unique identifier of applicableContent
  • [ApplicableContentDeviceMatchDeviceId <String>]: The unique identifier of applicableContentDeviceMatch
  • [CatalogEntryId <String>]: The unique identifier of catalogEntry
  • [CatalogId <String>]: Usage: catalogID='{catalogID}'
  • [ComplianceChangeId <String>]: The unique identifier of complianceChange
  • [DaysInPast <Int32?>]: Usage: daysInPast={daysInPast}
  • [DeploymentId <String>]: The unique identifier of deployment
  • [EditionId <String>]: The unique identifier of edition
  • [KbNumber <Int32?>]: Usage: kbNumber={kbNumber}
  • [KnownIssueId <String>]: The unique identifier of knownIssue
  • [ProductId <String>]: The unique identifier of product
  • [ProductRevisionId <String>]: The unique identifier of productRevision
  • [ResourceConnectionId <String>]: The unique identifier of resourceConnection
  • [UpdatableAssetId <String>]: The unique identifier of updatableAsset
  • [UpdatePolicyId <String>]: The unique identifier of updatePolicy