Set-PartnerCustomerConfigurationPolicy
Updates an existing configuration policy with the specified options.
Syntax
Set-PartnerCustomerConfigurationPolicy
[-CustomerId] <String>
-PolicyId <String>
[-Name <String>]
[-Description <String>]
[-RemoveOemPreinstalls <Boolean>]
[-OobeUserNotLocalAdmin <Boolean>]
[-SkipExpressSettings <Boolean>]
[-SkipEula <Boolean>]
[-SkipOemRegistration <Boolean>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-PartnerCustomerConfigurationPolicy cmdlet will update an existing configuration.
Examples
Example 1
PS C:\> Set-PartnerCustomerConfigurationPolicy -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -PolicyId 1aaaaaa1-2bb2-3cc3-4dd4-5eeeeeeeeee5 -Name "Updated Policy Name"
Updates the existing configuration policy with the identifier of 1aaaaaa1-2bb2-3cc3-4dd4-5eeeeeeeeee5 with a new name of "Updated Policy Name"
Parameters
-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 |
-CustomerId
Identifier for the customer.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Description for the policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Policy name for the policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OobeUserNotLocalAdmin
Enables or disables the Disable local admin account in setup policy.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PolicyId
Identifier for the policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveOemPreinstalls
Enables or disables the Remove OEM preinstalls policy.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkipEula
Enables or disables the Skip end user license agreement (EULA) policy.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkipExpressSettings
Enables or disables the Automatically skip pages in setup policy.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkipOemRegistration
Enables or disables the Skip OEM registration policy.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
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
None
Outputs
Microsoft.Store.PartnerCenter.PowerShell.Models.PSConfigurationPolicy