Create Your Own PowerShell Rules for ScriptCop

Summary: James Brundage teaches how to create your own Windows PowerShell rules for ScriptCop.   Microsoft Scripting Guy Ed Wilson here. Today, we have part two (including the conclusion) to the article begun by James Brundage yesterday. Take it away, James!   Writing your own ScriptCop rules Yesterday, I introduced you to ScriptCop, the tool…


Use ScriptCop to Help Write Better PowerShell Scripts

Summary: Learn about using the free tool called ScriptCop to help write better Windows PowerShell scripts.   Microsoft Scripting Guy Ed Wilson here. This weekend we have a two-part series from James Brundage. Take it away, James! Getting started with ScriptCop One of the problems with a new and rapidly changing technology such as Windows…


Use ShowUi to Easily Create Graphical Interfaces for PowerShell

Summary: Use ShowUi, a free Windows PowerShell module, to simplify creating graphical interfaces for scripts.   Microsoft Scripting Guy Ed Wilson here. Today, I have a guest article from my good friend James Brundage. Here is a little bit about him.   James Brundage is the founder of Start-Automating, a company dedicated to saving people…


Make Windows PowerShell Your Web Client

  Summary: Interact with websites from Windows PowerShell with this how-to post that wraps .NET Framework classes.   Hey, Scripting Guy! I would like to be able to download files and things from the Internet via Windows PowerShell. Is there an easy way to do this? I have not been able to find a Windows…

2

Packaging .NET Framework Classes into Windows PowerShell Functions

  Summary: Learn how to correctly package .NET Framework classes into reusable Windows PowerShell advanced functions in this step-by-step solution.   Hey, Scripting Guy! I have been exploring the Microsoft .NET Framework on MSDN and attempting to convert some examples I have found there into Windows PowerShell code. I will admit that it can be…

0

Use PowerShell to Combine Multiple Commands for Ease of Use

  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…

1

Automatically Create Custom PowerShell Functions

  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…

1

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…

0

Learn How to Customize the Windows PowerShell Script Editor

  Summary: Learn how to customize the Windows PowerShell script editor by using readily available functions from the PowerShellPack.   Microsoft Scripting Guy Ed Wilson here. Even well-planned blogs often go astray. If you have been keeping up with our Weekend Scripter series, you know that today I am supposed to talk about adding a…

1