Hey, Scripting Guy! I have a customized MSN home page. I really like the new layout, but it is rather inefficient to open Internet Explorer, and wait for a few minutes just to check out the latest stock prices. What I need is a Windows PowerShell script that I can use to quickly retrieve…
Year: 2009
Hey, Scripting Guy! How Can I Use a Web Service to Find Weather for a Specific City?
Hey, Scripting Guy! I thought your script yesterday was pretty cool, but there is a problem with it. Retrieving the weather from a script is awesome; however, I need to know which cities are available. If I want to know the weather in Sydney, Australia (your example), I am all set. I’m sure you…
Hey, Scripting Guy! How Can I Use Web Services?
Hey, Scripting Guy! I remember reading about things called “Web services” a long time ago. It seems that I do not hear much about these anymore. Do they really exist, and if so what are they good for? — GK Hello GK, Microsoft Scripting Guy Ed Wilson here. We have had to batten down…
Hey, Scripting Guy! Is There an Easier Way to Work with XML Files?
Hey, Scripting Guy! I have a file that I need to parse. It is an XML file, and it is very ugly. Who in the world ever thought that an XML file would be better than a plain CSV file? Unfortunately, Microsoft seems to be enamored with XML, and I cannot get away from…
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/13/09)
In this post: Dealing with Quarantined File Types and Exchange Server Scanning Multiple Remote Computers and Creating a Resultant CSV File How Can I Check for the Latest Daylight Saving Time Update? Troubleshooting the Use of WSMan with Windows PowerShell Dealing with Quarantined File Types and Exchange Server Hey, Scripting Guy! I have spent…
Hey, Scripting Guy! How Can I Create Variables in Windows PowerShell?
Hey, Scripting Guy! In VBScript, it was easy to create a variable; all I had to do was use the DIM statement. I did not need to specify a type or a value or anything. I just used DIM and the variable would be created. How do I create variables in Windows PowerShell? Please…
Hey, Scripting Guy! Can I Change on the Fly the Way Windows PowerShell Functions Work?
Hey, Scripting Guy! I have started using functions in Windows PowerShell to encapsulate complex commands, and it works pretty well. However, I would like to be able to change the way the functions work on the fly. By this I do not mean that I will throw the computer across the room and see…
New! On-demand translation of our blog!
You may have noticed something new about the Hey, Scripting Guy! Blog today (very top of the page): If you would prefer to read this blog in another language, you can now do that–on demand! Available languages are: Arabic Chinese Simplified Chinese Traditional Czech Danish Dutch English French German Greek Hebrew Italian Japanese Korean…
Hey, Scripting Guy! How Can I Create a Custom Function?
Hey, Scripting Guy! I am getting tired of typing the long commands used in Windows PowerShell. I know you Scripting Guys seem to show people always typing commands inside the Windows PowerShell console, but I do not think I like to work that way. It is TOO MUCH TYPING. I would love to be…
Hey, Scripting Guy! Tell Me About Aliases in Windows PowerShell
Hey, Scripting Guy! I have been playing around with Windows PowerShell 2.0 in Windows 7 and I think that I like it. However, it seems to require an awful lot of typing. The double command names, such as Get-Process, are somewhat helpful for remembering things, but it is quite a bit of typing. Yes,…