Showing archive results for 2009

Nov 18, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use a Web Service to Find Weather for a Specific City?

ScriptingGuy1

  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 can see this coming: I do not live i...

Scripting Guy!Windows PowerShellscripting techniques
Nov 17, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Web Services?

ScriptingGuy1

  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 the hatches here in Charlotte, North C...

Scripting Guy!Windows PowerShellscripting techniques
Nov 16, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Is There an Easier Way to Work with XML Files?

ScriptingGuy1

  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 it. Surely, there must be a better way to work with XML than to go cross-...

Scripting Guy!Windows PowerShellscripting techniques
Nov 12, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create Variables in Windows PowerShell?

ScriptingGuy1

  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 tell me you haven’t made it harder. -- TL  Hello TL...

Scripting Guy!Windows PowerShellgetting started
Nov 11, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Change on the Fly the Way Windows PowerShell Functions Work?

ScriptingGuy1

  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 how the function works, but rather I want to mo...

Scripting Guy!Windows PowerShellgetting started