Download presentation
Presentation is loading. Please wait.
2
New Microsoft ® shell environment Gives administrators more power and command in the shell environment – Hence…PowerShell? Active Directory Module for Windows® Powershell allows for command-line and scripted operations Only available in Windows ® Server R2 and Windows ® 7
3
Growing resources daily – http://technet.microsoft.com/en- us/scriptcenter/powershell.aspx http://technet.microsoft.com/en- us/scriptcenter/powershell.aspx – http://gallery.technet.microsoft.com/ScriptCenter /en-us/ http://gallery.technet.microsoft.com/ScriptCenter /en-us/ – http://technet.microsoft.com/en- us/library/dd378937(WS.10).aspx http://technet.microsoft.com/en- us/library/dd378937(WS.10).aspx
4
Creating a user: – New-aduser Help – Get-help new-aduser – Get-help new-aduser –examples – Get-help new-aduser –detailed new-aduser jdoe New-aduser “John Doe” –samaccountname “jdoe” –Givenname “John” –Surname ……..
5
Setting Passwords – Set-ADAccountPassword –Identity jdoe -Reset - NewPassword (ConvertTo-SecureString - AsPlainText "p@ssw0rd" –Force) Change attributes for multiple users – Get-ADUser -Filter 'Name -like "*"' -SearchBase "OU=Sale_OU,DC=MS1, DC=Local" | Set-ADUser - Description "Member of the Sales Department"
6
Display user attributes – Get-aduser jdoe – Get-aduser jdoe –properties * | more Add groups and members – Add-adgroupmember “Sale_Group” – Add-adgroupmember “Sale_Group” –member jdoe
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.