0
如何將組「管理員」添加到所有OU允許使用powershell全權控制的條目?Powershell:將組添加到所有OU權限
可以使用任務主動角色。
我沒有在我的嘗試:
$test=Get-ADOrganizationalUnit -Filter 'Name -like "*"' -searchscope onelevel | FT Name | ForEach-Object{ Add-QADPermission -"$test" -Account "administrators" -ApplyTo ChildObjects -Rights genericall}
出現錯誤:警告:無法查找標識的對象:@ {DistinguishedName = OU = testOU,DC = test,DC = local} – shellcommander