Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Create Exact Copies of Active Directory Security Groups in a New Forest

  Summary: Guest Blogger Oliver Lipkau shows us how to create exact copies of Active Directory security groups in a new forest.   Microsoft Scripting Guy Ed Wilson here. We have a guest blogger today: Oliver Lipkau. Here is Oliver’s scripting biography. I have been scripting for more than 10 years. I started with batch at the ...

Use PowerShell and Active Directory Cmdlets to Update Users in Active Directory

Summary: Learn how to use Windows PowerShell and the Active Directory cmdlets to update user objects in Active Directory.   (image) Hey, Scripting Guy! Watching you write a custom function to search Active Directory is about as much fun as watching paint dry. One reason we upgraded to Windows Server 2008 R2 was to gain access to the ...

Use PowerShell to Search Active Directory Users’ Missing Values and Add Same

  Summary: Learn how to use Windows PowerShell to search Microsoft Active Directory for users that have missing values, and automatically add default values.   (image) Hey, Scripting Guy! We have several network administrators where I work. Unfortunately, all of them have complete rights to Active Directory. This means that any one...

Use PowerShell to Translate a User’s SID to an Active Directory Account Name

  Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to translate a user's SID to an Active Directory Domain Services account name.   (image) Hey, Scripting Guy! It seems that whenever I search for Windows PowerShell scripts to translate a user name into a SID, all I can find is a script that uses WMI. WMI...