Combreal

handle_GPO_powershell.ps1

Feb 14th, 2021 (edited)
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Handle GPO
  2. https://4sysops.com/archives/administering-group-policy-with-powershell/
  3. https://blog.netwrix.com/2019/04/11/top-10-group-policy-powershell-commands/
  4.  
  5. Add users list to a GPO :
  6. import-csv C:\users.csv | foreach{set-GPPermission -Name "outlook anywhere" -TargetName $_.samaccountname -PermissionLevel GpoApply -TargetType User -Verbose }
Add Comment
Please, Sign In to add comment