Scripting Blog

A place to learn about PowerShell and share stories of automation

Expert Solution for 2011 Scripting Games Advanced Event 5: Use PowerShell to Get Information Prior to Windows Upgrade

Summary: Microsoft MVP, Richard Siddaway, solves 2011 Windows PowerShell Scripting Games Advanced Event 5 and gets information prior to a Windows upgrade. Microsoft Scripting Guy, Ed Wilson, here. Richard Siddaway is our expert commentator today. Here are Richard’s own words describing his background, followed by his solution to Advanced...

Hey, Scripting Guy! How Can I Use Windows PowerShell to Retrieve Information About Computer Hardware?

    Hey, Scripting Guy! I need to use Windows PowerShell to retrieve information about my computer hardware. Specifically I am interested in the make, the model, and the speed of my CPU by using a script. Can this be done? -- DH   Hello DH, Microsoft Scripting Guy Ed Wilson here. The 2010 Scripting Games had an event that ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (3/5/10)

In this post:   How Do I Create Shortcuts in Windows PowerShell? Hey, Scripting Guy! How do I create a Windows shortcut in Windows PowerShell? For example, I am installing Windows PowerShell these days on every Windows computer I touch. I would like to have a one-liner that creates the following shortcut: C:...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/6/09)

In this post:   Using the Active Directory DirectoryEntry Class Hey, Scripting Guy! I have been writing some scripts for Active Directory, and this past weekend I ran into something that puzzled me. When a search is performed against Active Directory (using the DirectoryEntry class and searcher class), and when ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/06/09)

How Can I Pipe Over a Variable for Use in a File Name?   Hey, Scripting Guy! Sorry to bother you but I have been looking for an answer to this for a few hours now. I’ve also been experimenting but have had no luck figuring it out yet. How do you get a variable to pipe over to use in a file name? For example, I am trying to get the ...

Feedback usabilla icon