Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Can I Change the Default Value of a Registry Key on Multiple Computers?

  Hey Scripting Guy! I have a problem. There is a registry key on several computers that has a default value of “default.” I need to be able to change that default value. I searched the Hey, Scripting Guy! blog and came up with an article written for VBScript. I know I can use WMI in Windows PowerShell 2.0, but the ...

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

In this post:   Please Clarify This Script You Published Previously Hey, Scripting Guy! I have a question about your Hey, Scripting Guy! post How Do I Back Up Files That Have Been Modified in the Last Day? In the article, you say the following:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:...

Hey, Scripting Guy! How Can I Add a Function to a Profile in Windows PowerShell?

  Hey, Scripting Guy! I have been reading your articles about working with Windows PowerShell profiles, and they are pretty cool. However, I have a question. You mentioned on Monday that I could add a function to a Windows PowerShell profile. I am not sure how I would do that. Can you add a function to the profile you have ...

Hey, Scripting Guy! What’s the Deal with the Dash in Cmdlet Names?

Hey, Scripting Guy! I enjoy using Windows PowerShell, but I do not like the two-word cmdlet names you created for everything. As a matter of fact, I hate the two-word cmdlet names because the dash (-) symbol is hard to type. I guess I will eventually get used to it, but you have to realize that Windows PowerShell as a tool for network...

Hey, Scripting Guy! Why Would I Even Want to Create a Profile in Windows PowerShell?

Hey, Scripting Guy! Okay, I get that I can create a profile for Windows PowerShell. What I don’t understand is why I would want to create a profile in the first place. It seems to me that Windows PowerShell 2.0 works just fine the way it is. Can you enlighten me a bit? -- VW Hello VW, Microsoft Scripting Guy Ed Wilson here. ...

Feedback usabilla icon