Showing archive results for August 2010

Aug 19, 2010
Post comments count3
Post likes count0

Use PowerShell to Add Domain Users to a Local Group

ScriptingGuy1

  Summary: By using Windows PowerShell splatting, domain users can be added to a local group. This script includes a function to convert a CSV file to a hash table.   Hey, Scripting Guy! I need to be able to use Windows PowerShell to add domain users to local user groups. I have been able to find VBScript examples, but no Windows PowerShe...

Scripting Guy!Windows PowerShellActive Directory
Aug 18, 2010
Post comments count0
Post likes count0

Sort an Active Directory User Group’s Members by Using PowerShell

ScriptingGuy1

Summary: Sorting lists of data in VBScript often involved writing complex code. The Sort cmdlet in Windows PowerShell makes that task easier.   Hey, Scripting Guy! I need to be able to use Windows PowerShell to list the members of a group in Active Directory Domain Services (AD DS) in alphabetical order. The reason for this is I would like ...

Scripting Guy!Windows PowerShellActive Directory
Aug 17, 2010
Post comments count0
Post likes count0

How to Change a User's Active Directory Password with PowerShell

ScriptingGuy1

Summary: The Scripting Guys discuss using Windows PowerShell to change a user's Active Directory password in this how-to article.   Hey, Scripting Guy! I need to be able to change a user’s password by using Windows PowerShell. In the VBScript days, I had a script that I had essentially copied from the How Can I Change a User’s Pass...

Scripting Guy!Windows PowerShellActive Directory
Aug 16, 2010
Post comments count0
Post likes count0

Using PowerShell to Find All Disabled Users in Active Directory

ScriptingGuy1

  Summary: The Scripting Guys discuss three different approaches to finding disabled user accounts in Active Directory Domain Services by using Windows PowerShell.   Hey, Scripting Guy! I would like to use Windows PowerShell to search Active Directory Domain Services (AD DS) for user accounts that are disabled. I had a VBScript script I h...

Scripting Guy!Windows PowerShellActive Directory
Aug 15, 2010
Post comments count0
Post likes count0

Using PowerShell to Format a Report from XML Data

ScriptingGuy1

Summary: Use Windows PowerShell to create a formatted report from data stored in XML files.   Microsoft Scripting Guy Ed Wilson here. It is still dark outside, and the lights of the neighborhood are slowly beginning to come on. It is really humid this morning. I am sitting at the kitchen table with my laptop checking comments that were posted ...

Scripting Guy!Windows PowerShellscripting techniques