r/usefulscripts • • Feb 23 '18

Create new OU in AD using PowerShell

https://www.sconstantinou.com/create-new-ou-in-ad-using-powershell/

[removed] — view removed post

1 Upvotes

2 comments sorted by

1

u/Roggy86 Feb 26 '18

Morning,

Why not just delegate permissions to for the IT administrators to be able to create new OUs?

https://technet.microsoft.com/en-us/library/2007.02.activedirectory.aspx?f=255&MSPPError=-2147217396

Hope that helps as at some point someone will run the script to perform another task and not answer the final prompt to remain in domain admins group.

1

u/SConstantinou Feb 26 '18

Morning,

Within this week I will start another series in my blog for custom active directory delegation. Delegated permissions, not only for AD Object but also for properties of objects. Stay tuned and the new series of posts will start this week :)