Showing tag results for running

Aug 11, 2010
Post comments count0
Post likes count1

Masking Passwords in Windows PowerShell

ScriptingGuy1
ScriptingGuy1

  Summary: With Windows PowerShell cmdlets, it is easy to mask passwords used when scripting remote applications.   Hey, Scripting Guy! I need to be able to mask a password when running a Windows PowerShell script. I am attempting to convert my VBScript scripts to Windows PowerShell, but I have a problem. In VBScript I would use a COM ob...

Scripting Guy!Windows PowerShellscripting techniques
Aug 10, 2010
Post comments count1
Post likes count0

How to Reuse Windows PowerShell Functions in Scripts

ScriptingGuy1
ScriptingGuy1

Summary: When writing a Windows PowerShell script, code reuse can speed up the process. Ed Wilson discusses best practices for reusing code.   Hey, Scripting Guy! I often write Windows PowerShell scripts, and when I need to use a function that I wrote for a different script, I copy and paste the function into my new script. Is this the best...

Scripting Guy!Windows PowerShellscripting techniques
Aug 9, 2010
Post comments count0
Post likes count0

How Do I Use a Windows PowerShell Script Containing Functions?

ScriptingGuy1
ScriptingGuy1

  Summary: Using a script containing Windows PowerShell functions can be as simple as dot-sourcing the script.   Hey, Scripting Guy! I was looking in the Script Center Script Repository for Windows PowerShell scripts, and I found one that was really cool. Unfortunately, when I attempted to use it, it did not work. I know that scripts in...

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

Hey, Scripting Guy! Weekend Scripter: Timing the Windows PowerShell Pipeline

ScriptingGuy1
ScriptingGuy1

    Microsoft Scripting Guy Ed Wilson here. I decided to get up early this morning and head out with my laptop, a camera, and my panama hat. My destination? Battery Park. The Scripting Wife and I are in Charleston, South Carolina, for the weekend, and I thought it would be a great time to write some scripts. The Scripting Wife has...

Scripting Guy!Windows PowerShellscripting techniques
Jun 26, 2010
Post comments count0
Post likes count1

Weekend Scripter: Playing Around with the Windows PowerShell Tokenizer

ScriptingGuy1
ScriptingGuy1

  //   Microsoft Scripting Guy Ed Wilson here. Once again, the Scripting Wife and I are on the road. This weekend we are heading to Charleston, South Carolina, to hang out and to see a couple music groups. The Scripting Wife is driving, and I am playing around with Windows PowerShell. We have my Zune HD plugged into our car radio ...

Scripting Guy!Windows PowerShellscripting techniques