Showing results for November 2011 - Page 2 of 6 - Scripting Blog [archived]

Nov 25, 2011
0
0

Use PowerShell Commands from One Session in Another Session

Doctor Scripto
Doctor Scripto

Summary: Learn how to automatically save commands from one session, and then use them in a new Windows PowerShell session. Microsoft Scripting Guy, Ed Wilson, is here. One of the fun things about getting to travel around and talk to people who are using Windows PowerShell on a daily basis to automate their systems is the quality of the questions I ...

Scripting Guy!Windows PowerShellscripting techniques
Nov 24, 2011
0
0

Use the Debugger in the Windows PowerShell ISE

ScriptingGuy1
ScriptingGuy1

Summary: Learn how to use the debugging tools in the Windows PowerShell ISE to speed development of scripts. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to talk a little bit about using the Windows PowerShell ISE to debug a script. This is actually the third article this week in which I talk about using Windows PowerShell to debug scr...

Scripting Guy!Windows PowerShellscripting techniques
Nov 23, 2011
0
0

Use the PowerShell Debugger to Check Variable Values

Doctor Scripto
Doctor Scripto

Summary: Learn how to inspect variable values by using the Windows PowerShell debugger.   Microsoft Scripting Guy Ed Wilson here. In yesterday’s post, I talked about using the Set-PSBreakpoint cmdlet to set a breakpoint on a specific script. Today, I want to continue looking at the Set-PSBreakpoint cmdlet. One of the things I mentioned w...

Scripting Guy!Windows PowerShellscripting techniques
Nov 22, 2011
0
0

Use the PowerShell Debugger to Troubleshoot Scripts

Doctor Scripto
Doctor Scripto

Summary: Learn how to use the Windows PowerShell script debugger to troubleshoot problems with scripts.   Microsoft Scripting Guy Ed Wilson here. One of the fun things about traveling, especially to warm places when it is winter back home, is calling to talk to friends and relatives. When they say things like, “It snowed yesterday,&rdquo...

Scripting Guy!Windows PowerShellscripting techniques
Nov 21, 2011
0
0

Make a Simple Change to PowerShell to Prevent Accidents

Doctor Scripto
Doctor Scripto

Summary: Learn how a simple change to a preference variable can help prevent accidental changes when using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. When I was teaching my Windows PowerShell Best Practices class out in Irvine, California, recently, I was talking to the class about the whatif parameter. I did my usual introd...

Scripting Guy!Windows PowerShellscripting techniques