Automate Active Directory PowerShell scripts
"To use the Microsoft cmdlets, you must have a
Windows Server 2008 R2 domain controller (DC), or you can download and install
the Active Directory Management Gateway
Service on legacy DCs."
“Download Remote Server Administration Tools
on client machine”
·
Find Users
·
Create Users
'GivenName' = 'Tech'
'Surname' = 'Mantra'
'Name' = 'Tmantra'
'AccountPassword' = (ConvertTo-SecureString 'p@$$w0rd10' -AsPlainText -Force)
'ChangePasswordAtLogon' = $true
}
New-AdUser @NewUserParameters
·
Add users to Groups
·
Delete a User
·
Reset a User Password
·
Disable and Enable
User account
·
Unlock User Account
Automate
Creation of Users
"Adam","Bertram","abertram"
"Joe","Jones","jjones"
No comments:
Post a Comment
Note: only a member of this blog may post a comment.