Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Weekend Scripter: Discovering PowerShell Cmdlet Parameter Aliases

   Summary: Increase your Windows PowerShell productivity by unleashing the power of parameter aliases.   Microsoft Scripting Guy Ed Wilson here. The more I work with Windows PowerShell the more I enjoy it. On the other hand, there are still some challenges that need to be met in terms of both discoverability and in usability. ...

Use Scheduled Tasks to Run PowerShell Commands on Windows

   Summary: Learn how to use the Windows Task Scheduler to run Windows PowerShell commands automatically.   (image) Hey, Scripting Guy! One of the things that is a bit frustrating about reading the Hey, Scripting Guy! Blog is that it seems as if you expect network administrators to sit in front of their computer screens manually ...

Validate PowerShell Parameters Before Running the Script

   Summary: Learn how to use Windows PowerShell parameter validation attributes to check parameters before running the script.   (image) Hey, Scripting Guy! I have a problem that I think that you can help me with. I have created a Windows PowerShell script that allows Help Desk people to enter information about users such as the...