SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Import-Module ActiveDirectory
  2. <#
  3. $mad = Get-ADUser -Identity mad_sme
  4. $mad.Enabled = $true
  5. Set-ADUser -Instance $mad
  6. #>
  7. #New-ADOrganizationalUnit "Test"
  8.  
  9. Get-ADGroupMember -Identity SalesUsers -Recursive | Foreach {Add-ADGroupMember -Identity ProjectUsers -Member $_}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top