Skip to content

Set-CPCProvisioningPolicyAssignment

SYNOPSIS

Assign a Cloud PC Provisioning Policy to a group

SYNTAX

Set-CPCProvisioningPolicyAssignment -Name <String> [-GroupName <String>] [-Force] [<CommonParameters>]

DESCRIPTION

Assign a Cloud PC Provisioning Policy to a group

EXAMPLES

EXAMPLE 1

Set-CPCProvisioningPolicyAssignment -Name "MyUserSettingsPolicy" -GroupName "MyGroup"

EXAMPLE 2

Set-CPCProvisioningPolicyAssignment -Name "MyUserSettingsPolicy" -GroupName "MyGroup" -Force (Removes existing assignments)

PARAMETERS

-Name

Name of the Cloud PC Provisioning Policy

Type: String
Parameter Sets: (All)
Aliases:

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

-GroupName

Name of the group to assign the policy to

Type: String
Parameter Sets: (All)
Aliases:

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

-Force

TODO: Add SupportsShouldProcess

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES