Scripting Blog

A place to learn about PowerShell and share stories of automation

Exploring the Windows PowerShell ISE Color Objects

Summary: Join Microsoft Scripting Guy Ed Wilson as he takes you on a guided tour of the Windows PowerShell ISE color objects.   Microsoft Scripting Guy Ed Wilson here. It is a beautiful sunny afternoon. I have decided to embrace the sunshine and accept the humidity that seems to be irrevocably joined with it. I have Deep Purple cranked ...

Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/20/10)

In this post:    Dealing with Hidden File Extensions Hey, Scripting Guy! I hope you guys can help. I was trying to install a program that uses a .vbs script to install. When I opened the file, all I got was a Notepad listing of the file. It didn't run. On your blog, I tried the little test program in your FAQ and ...

Use PowerShell to Add Domain Users to a Local Group

  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 ...

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

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 ...

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

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...