< Back

New-PartnerCustomerConfigurationPolicy

Sat Jan 18, 2020 6:34 pm

NAME New-PartnerCustomerConfigurationPolicy



SYNOPSIS

Creates a new configuration policy for the specified customer.





SYNTAX

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

[-OobeUserNotLocalAdmin <Boolean>] [-RemoveOemPreinstalls <Boolean>] [-SkipEula <Boolean>] [-SkipExpressSettings

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





DESCRIPTION

The New-PartnerCustomerConfigurationPolicy cmdlet creates a new configuration policy.





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 new policy.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Policy name for the new policy.



Required? true

Position? 1

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



-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:\\> New-PartnerCustomerConfigurationPolicy -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -Name "New Config

Policy" -Description "Test Policy" -SkipEula $true -OobeUserNotLocalAdmin $true



Create a new configuration policy for a customer with the identifier of 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08. The

policy is named "New Config Policy" and has a description of "Test Policy. Both the SkipEula and

OobeUserNotLocalAdmin policies have been set.







RELATED LINKS

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