PowerTip: Use Cmdlet to Trace Script Execution
Summary: Use a Windows PowerShell cmdlet to trace script execution. How can I trace lines that execute in a Windows PowerShell script, without concern for variable assignments, functions, or external...
View ArticleMore PowerShell Script Tracing and Strict Mode
Summary: Ed Wilson, Microsoft Scripting Guy, talks more about Windows PowerShell script tracing and enabling strict mode.Microsoft Scripting Guy, Ed Wilson, is here. It can be somewhat painful to...
View ArticlePowerTip: Enable Script Tracing in PowerShell Functions
Summary: Enable script tracing into and out of Windows PowerShell functions. How can I trace my script execution into and out of Windows PowerShell functions? Use the Set-PSDebug cmdlet and set a trace...
View ArticleUse PowerShell Strict Mode for Debugging
Summary: Ed Wilson, Microsoft Scripting Guy, talks about using strict mode in Windows PowerShell for debugging purposes.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows...
View ArticlePowerShell Cruise announced
SUMMARY: The Windows PowerShell Cruise, PowerShell on the high seas, is announced What's better than a vacation? How's geeking out about PowerShell (and other technologies) with a bunch of MVPs and...
View ArticlePowerTip: Find References to Uninitialized Variables in PowerShell
Summary: Easily find references to uninitialized variables in Windows PowerShell. My extremely long script keeps failing and I suspect it may be because of variables that are not initialized...
View ArticleUnderstanding PowerShell Script Debugging
Summary: Ed Wilson, Microsoft Scripting Guy, talks about understanding Windows PowerShell debugging.Microsoft Scripting Guy, Ed Wilson, is here. Today I am working a little bit on my presentation for...
View ArticlePowerTip: Find All Disabled Breakpoints in PowerShell
Summary: Find all disabled breakpoints in a Windows PowerShell session. How can I use Windows PowerShell to see what breakpoints are disabled in my current session? Use the Get-PSBreakPoint cmdlet, and...
View ArticleSetting a Breakpoint on a Variable
Summary: Ed Wilson, Microsoft Scripting Guy, talks about using variable breakpoints with the Windows PowerShell debugger.Hello Windows PowerShell scripting dudes and dudettes!Debugging Week continues,...
View ArticlePowerTip: Set PowerShell Breakpoint Based on Variable
Summary: Set a Windows PowerShell breakpoint based on a variable. How can I enter the Windows PowerShell debugger when a particular variable is accessed in a specific Windows PowerShell...
View ArticleWeekend Scripter: Break in to a Script via a Command
Summary: Ed Wilson, Microsoft Scripting Guy, talks about using the debugger to break in to a script via a specific command.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things, when...
View ArticlePowerTip: Set Breakpoint Based on Command
Summary: Learn to set a Windows PowerShell breakpoint based on a specific command. How can I configure the Windows PowerShell debugger to start when a script hits a specific command? Use the...
View ArticleWeekend Scripter: Building Test Servers
Summary: Ed Wilson, Microsoft Scripting Guy, talks about building test servers.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am listening to my favorite Swiss classical radio station on...
View ArticlePowerTip: Find Tangent of 45-Degree Angle with PowerShell
Summary: Find the tangent of a 45-degree angle with Windows PowerShell. How can I use Windows PowerShell to obtain the tangent of a 45-degree angle? Use the Tan static method from the [math] class, for...
View ArticleAll About PowerShell Profiles
Summary: Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell profiles. Microsoft Scripting Guy, Ed Wilson, is here. Today I am heading back to the basics. Why? Because my hard disk drive...
View ArticlePowerTip: Determine If You Have PowerShell Profile
Summary: Learn how to determine if you have a local Windows PowerShell profile. How can I find if I have a Windows PowerShell profile? Use the Test-Path cmdlet, and check for the existence...
View ArticleI Have a PowerShell Profile—Now What?
Summary: Ed Wilson, Microsoft Scripting Guy, talks about the what to add into a Windows PowerShell profile.Microsoft Scripting Guy, Ed Wilson, is here. It was a beautiful sunny weekend in central...
View ArticlePowerTip: Find Name and Location of PowerShell Profiles
Summary: Learn how to find the name and location of various Windows PowerShell profiles. How can I find the name and location of various Windows PowerShell profiles? Use the $profile automatic variable...
View ArticlePowerShell Profile? Which One?
Summary: Ed Wilson, Microsoft Scripting Guy, talks about determining which Windows PowerShell profile to use for which functions.Microsoft Scripting Guy, Ed Wilson, is here. Living in central Florida...
View ArticlePowerTip: Determine if Running in PowerShell Console
Summary: Determine if you are running inside the Windows PowerShell console. How can I find if I am running inside the Windows PowerShell console for my Windows PowerShell profile? Look at the...
View Article