Tag Archives: Write-Verbose

Verbose or Debug?

This morning there was some discussion on Twitter about when to use Write-Verbose and when to use Write-Debug. They both can provide additional information about what your script or function is doing, although you have to write the code. Typically, … Continue reading

Posted in Best Practices, PowerShell v2.0, SAPIEN, Scripting | Tagged , , , , , , | 8 Comments

PowerShell Automatic Logging

If you regularly download or look at the functions and scripts I post here, you’ll notice I often use Write-Verbose to indicate what is happening. This comes in handy for troubleshooting. But often it would also be helpful to record … Continue reading

Posted in PowerShell, Scripting | Tagged , , , , | 17 Comments

Verbose Variations

While I’ve been judging entries in the 2010 Scripting Games, I’ve noticed a few things that I thought I would comment on here. In longer and complicated scripts, I’ve always suggested script developers provide some sort of feedback about what … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , , | 4 Comments