Scripting Blog

A place to learn about PowerShell and share stories of automation

Use Splatting to Simplify Your PowerShell Scripts

Summary: Use the Windows PowerShell 2.0 splatting technique to simplify your scripts. This step-by-step article provides the details.   Hey, Scripting Guy! I hope this is not a dumb question; I am a little hesitant to even ask, but something has been bugging me for over a month. I was recently in a Live Meeting with Scripting Guy Ed ...

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