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