< Back

Set-PartnerCustomerConfigurationPolicy

Sat Jan 18, 2020 6:36 pm

NAME Set-PartnerCustomerConfigurationPolicy



SYNOPSIS

Updates an existing configuration policy with the specified options.





SYNTAX

Set-PartnerCustomerConfigurationPolicy [-CustomerId] <String> [-Description <String>] [-Name <String>]

[-OobeUserNotLocalAdmin <Boolean>] -PolicyId <String> [-RemoveOemPreinstalls <Boolean>] [-SkipEula <Boolean>]

[-SkipExpressSettings <Boolean>] [-SkipOemRegistration <Boolean>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Set-PartnerCustomerConfigurationPolicy cmdlet will update an existing configuration.





PARAMETERS

-CustomerId <String>

Identifier for the customer.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Description <String>

Description for the policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Policy name for the policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-OobeUserNotLocalAdmin <Boolean>

Enables or disables the Disable local admin account in setup policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PolicyId <String>

Identifier for the policy.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RemoveOemPreinstalls <Boolean>

Enables or disables the Remove OEM preinstalls policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SkipEula <Boolean>

Enables or disables the Skip end user license agreement (EULA) policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SkipExpressSettings <Boolean>

Enables or disables the Automatically skip pages in setup policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SkipOemRegistration <Boolean>

Enables or disables the Skip OEM registration policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.PSConfigurationPolicy







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Set-PartnerCustomerConfigurationPolicy -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -PolicyId

2975afbf-4859-4d56-9f8d-e86996db92dd -Name "Updated Policy Name"



Updates the existing configuration policy with the identifier of 2975afbf-4859-4d56-9f8d-e86996db92dd with a new

name of "Updated Policy Name"







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... tionPolicy