Forum Discussion
MC_Edwards
Jun 05, 2024Copper Contributor
Exchange on-prem decomm sript - Add-PermissionForEMT.ps1 parameter question
I want to decomm the last Exchange Server we have on prem, my only hang up at the moment is that the script you run (Add-PermissionForEMT.ps1) only has syntax for specifying *ONE* OU to set ACLs on E...
Kidd_Ip
Jun 05, 2024MVP
How about this?
$OUs = "OU=ou1,DC=contoso,DC=com", "OU=ou2,DC=contoso,DC=com" $OUs | ForEach-Object { New-GPLink -Name "MyGPO" -Target $_ }