Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Import-Module ActiveDirectory
Enable-ADOptionalFeature -Identity `
'CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=pixelrobots,DC=co,DC=uk' `
-Scope ForestOrConfigurationSet -Target 'pixelrobots.co.uk'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.