While I was testing the new PowerShell enabled RSEE service, I used one of the many files our users send us to illustrate one thing or another or to report a bug. Using real world script files rather than some “clean” in-house samples makes for a better test as far as I am concerned. (Disclaimer: […]
Tag: Get-Date
More Fun with Debug Messages
A few weeks ago I posted an entry on creating customized debug messages that you can use in your scripting. After some more testing and tweaking I revised and renamed the function. Write-DebugMessage can now be used within your script to send messages to the debug pipeline. I moved the $debugpreference setting to the function itself and made other improvements.