Showing archive results for 2010

Mar 2, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use the List Box Control in Windows PowerShell?

ScriptingGuy1

  Hey, Scripting Guy! I am wondering if it would be possible to have a box that included several items in it. I would then like to be able to choose an item from that box and use it elsewhere in the script. I know it can be done, because I see it in Windows programs all the time. I just am not sure what it is called, and therefore am havi...

Scripting Guy!Windows PowerShellscripting techniques
Mar 1, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create a Windows Form Using Windows PowerShell and PrimalForms?

ScriptingGuy1

 Hey, Scripting Guy! I have really been enjoying reading your Weekend Scripter series. It seems like you guys really love scripting. I especially enjoyed the graphical trip cost calculator Ed wrote for the Scripting Wife.My only problem with the article is that it was a bit quick, and I have never used Visual Studio or a Windows Form before. I...

Scripting Guy!Windows PowerShellscripting techniques
Feb 28, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Weekend Scripter: Creating a GUI for a Windows PowerShell Script

ScriptingGuy1

Microsoft Scripting Guy Ed Wilson here. When I showed the Scripting Wife the Get-FuelCostFunction.ps1 script from yesterday, she was less than enthused. She did not like the idea of opening up either the Windows PowerShell ISE or the Windows PowerShell Command Prompt window. She wanted a graphical interface and an icon she could click. At first, I ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 27, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Weekend Scripter: A Function to Calculate Fuel Cost

ScriptingGuy1

 Microsoft Scripting Guy Ed Wilson here. The cool thing about scripting on the weekend is you can take two hours for breakfast, hang out with friends on Facebook and Twitter, and not feel bad about it all. The Scripting Wife headed out with her friend to a rodeo and left me in the kitchen unattended. Bad mistake on her part! I got into the smo...

Scripting Guy!Windows PowerShellscripting techniques
Feb 25, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Use Transactions to Write WMI Information to the Registry?

ScriptingGuy1

   Hey, Scripting Guy! I need to be able to create several registry keys, but only if the computer meets certain hardware requirements. I was thinking I could query a bunch of WMI classes and then use a transaction, but I am not sure which hardware WMI classes I should use. Do you have any ideas? -- NB   Hello NB, Microsoft Scripti...

Scripting Guy!Windows PowerShellscripting techniques