Get-EnableProtectedSettings [-PipelineVariable <String>]
Returns the status of the "Enable Protected Settings for Group Policy Objects." option.
Disables the Protected Settings for GPOs.
Set-EnableProtectedSettings –EnableProtectedSettings
Enables the Protected Settings for GPOs
Get-Item . | Get-AssignedProtectedSettingsPolicies
Gets a list of all Protected Settings Policies assigned to the current container.
Get-Item "VCRoot:\Locations" | Get-AssignedProtectedSettingsPolicies
Gets a list of all Protected Settings Policies assigned to the "Locations" container.
$PSP = Get-ProtectedSettingsPolicies | ? {$_.Name -eq "PROT_01"}
get-item .\locations | Add-ProtectedSettingsPolicies -ProtectedSettingsPolicies $assignment
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center