PowerShell for Windows Admins:

Active Directory Administration

1

June 11, 2014  2:18 PM

Rename a user account to the display name

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory Administration

I had a question left on my blog about renaming all of the user accounts in an OU had their name changed to match the display name.  I started by creating a few dummy accounts: PS s> Get-ADUser -Filter * -SearchBase "OU=Test,DC=Sphinx,DC=org"  -Properties DisplayName | Format-Table...

May 18, 2014  8:24 AM

Error trapping when getting AD objects

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory Administration

How many times have you done this: £> Get-ADComputer -Identity "bleh" Get-ADComputer : Cannot find an object with identity: 'bleh' under: 'DC=Manticore,DC=org'. At line:1 char:1 + Get-ADComputer -Identity "bleh" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo :...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: