Summary: Learn how to use the Windows Task Scheduler to run Windows PowerShell commands automatically. 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…
Year: 2011
Validate PowerShell Parameters Before Running the Script
Summary: Learn how to use Windows PowerShell parameter validation attributes to check parameters before running the script. 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…
Provide Input to Applications with PowerShell
Summary: Use SendKeys to provide input to graphical applications with Windows PowerShell. Hey, Scripting Guy! I am almost embarrassed to admit this but you know what I miss most about VBScript? I miss the SendKeys function. I do not know why Windows PowerShell did not include a New-SendKeys cmdlet. I know all about…
Weekend Scripter: Easily Explore XML Files with PowerShell
Summary: Guest blogger and Microsoft MVP, Sean Kearney, shows how to explore XML files with Windows PowerShell in this beginner how-to article. Microsoft Scripting Guy Ed Wilson here. We have another guest blogger this weekend. Sean Kearney has been working away on his keyboard and is so forthcoming in sharing his work. You…
Weekend Scripter: Use the PowerShell Pipeline with Data ONTAP PowerShell Toolkit
Summary: The Data ONTAP Windows PowerShell toolkit uses the pipeline to simplify data storage management. Microsoft Scripting Guy Ed Wilson here. Today we have a guest blogger, Dr. Clinton Knight, from NetApp and the Author of Data ONTAP PowerShell Toolkit. I know not everyone has a NETAPP device and this will not be…
How Do I Install PowerShell on Windows 7 and Other Questions
Summary: Learn how to install Windows PowerShell on Windows 7, how to detect 32-bit PowerShell, or how to read an offline registry. In this post: Install Windows PowerShell on Windows 7 Detect 32-bit PowerShell Read an Offline Registry Working with Security Logs Install Windows PowerShell on Windows 7 Hey, Scripting Guy! How…
Use PowerShell and Group Policy for Your Logon Script
Summary: Microsoft Scripting Guy Ed Wilson discusses the pros and the cons of using Windows PowerShell for logon Scripts. Hey, Scripting Guy! In the past, I worked at a company that had an impressive logon script. It was written in VBScript and consumed more than 5,000 lines of code – I am not…
Simplify Desktop Configuration by Using a Shared PowerShell Module
Summary: Simplify your desktop configuration needs by using a Windows PowerShell module stored on a central file share. Hey, Scripting Guy! I enjoy using Windows PowerShell modules. I think they are way cool. The thing is, I am not too keen on deploying them to remote workstations. What would be great is if…
Run PowerShell Scripts Stored on a Central File Share
Summary: Learn about Windows PowerShell Script Execution policies and how they effect running scripts from a central file share. Hey, Scripting Guy! I am curious as to the best place to store scripts. I want to maintain a master list of approved scripts, but I am not certain as to the best way…
The Most Popular Hey, Scripting Guy! Blog Posts
Summary: Catch up on your reading by focusing in on the most popular Hey, Scripting Guy! blog posts from 2010. Hey, Scripting Guy! I am trying to catch up on my reading. Last year, I got so busy that I was unable to keep up with all of the Hey, Scripting Guy! Blog posts. I…