Get-Roles [-PipelineVariable <String>]
Gets a list of all the currently defined roles within GPOADmin.
Set-Role -Role $roles[3] -DisplayName Linkers
Updates the description of the role "Linkers".
Set-Role -Role $roles[3] -s "Read, Link"
Updates the s of the role "Linkers".
$s = "BlockInheritance", "Link"
Add-Role "Linker" "Can link GPOs to SOMs" $s
Add-Role -Name "Register Role" -Description "Can register objects" -s "Register", "Unregister"
List of s can be added in-line instead of using a variable.
Get-Security [-Path] <String> [[-IncludeInheritedAce]] [-Raw] [-PipelineVariable <String>]
Get-Security -Path "VCRoot:\IE Settings"
Gets the security set on the "VCRoot:\IE Settings" object.
Get-Security -Path "VCRoot:\IE Settings" -IncludeInheritedAce
Gets the security set on the "VCRoot:\IE Settings" object including inheritance.
Get-Security -Path "VCRoot:\IE Settings" -IncludeInheritedAce -Raw
Gets the security set on the "VCRoot:\IE Settings" object including inheritance in its raw format.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center