Scripting Blog [archived]

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

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

(image)   (image) 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 ...

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

(image)   (image) 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 ...

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

(image) (image) 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 ...

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

(image) (image) 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 (image) Hello VW, Microsoft ...

Hey, Scripting Guy! How Can I Use Profiles with Windows PowerShell?

(image)  !-->(image) Hey, Scripting Guy! I would like to personalize the way that Windows PowerShell works. I have been hearing that I can use a thing called a profile to do this, but when I try to find information about profiles, I come up blank. There is no New-Profile Windows PowerShell cmdlet so I do not see how to create such...