Showing results for splatting - Scripting Blog [archived]

Oct 20, 2010
0
0

Use PowerShell to Combine Multiple Commands for Ease of Use

ScriptingGuy1
ScriptingGuy1

  Summary: Learn how to use Windows PowerShell 2.0 to combine multiple commands into new custom functions and simplify your scripting.   Hey, Scripting Guy! I do a lot of work from the Windows PowerShell command line. In fact, I write very few scripts, but I run lots of commands. I would like to create a custom Windows PowerShell function...

Scripting Guy!Windows PowerShellscripting techniques
Oct 19, 2010
0
0

Automatically Create Custom PowerShell Functions

ScriptingGuy1
ScriptingGuy1

  Summary: Learn how to automatically create custom Windows PowerShell functions by using a free tool that writes your code for you.   Hey, Scripting Guy! I wish there was a good way to modify Windows PowerShell commands. I can modify the names of commands by creating an alias for the command. I wish I could create an alias that also mod...

Scripting Guy!Windows PowerShellscripting techniques
Oct 18, 2010
0
0

Use Splatting to Simplify Your PowerShell Scripts

ScriptingGuy1
ScriptingGuy1

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

Scripting Guy!Windows PowerShellscripting techniques
Aug 19, 2010
3
0

Use PowerShell to Add Domain Users to a Local Group

ScriptingGuy1
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