Sets the security on the specified version controlled object.
$ace1 = New-VCAce AMER\Administrator $roles[3]
$ace2 = New-VCAce AMER\jdoe $roles[3]
Set-Security -Path "VCRoot:\IE Settings" -Acl $ace1, $ace2
Sets the security on the specified version controlled object.
Overrides the security filter of the specified GPO.
$gpo = Get-Item VCRoot:\SOME_GPO
$filter = Get-SecurityFilter $gpo
$trustee = New-Trustee domain\user
Set-SecurityFilter $gpo $filter
$gpo = Get-Item VCRoot:\SOME_GPO
$filter = Get-SecurityFilter $gpo
Set-SecurityFilter $gpo $filter
$gpo = Get-Item VCRoot:\SOME_GPO
$filter = Get-SecurityFilter $gpo
$trustee = $filter | where{$_.Name –eq ‘domain\user’}
Set-SecurityFilter $gpo $filter
Get-EnableProtectedSettings [-PipelineVariable <String>]
Returns the status of the "Enable Protected Settings for Group Policy Objects." option.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center