Tag Archives: powershell

Using Write-Debug

I wrote a post about PoSh output recently, noting that in general we ought to use Write-Output or Write-Verbose for messaging. In there, I mentioned Write-Debug as well as a way of allowing the user to control debug information. Since … Continue reading

Posted in Blog | Tagged , | Comments Off on Using Write-Debug

Writing Output from Powershell

One of the things we often want to do when building a PoSh script is to get some output. I first learned about Write-Host, but I learned over time that this isn’t the best way to do this. Most of … Continue reading

Posted in Blog | Tagged , | 2 Comments

Fixing the PoSh Hotkey in ADS

I installed the PowerShell (PoSh) extension in ADS recently. This is available in the extension pane, and once installed, you get the 4th icon on the right added to your sidebar, for PoSh. I have the SSMS Keymap extension installed … Continue reading

Posted in Blog | Tagged , , | Comments Off on Fixing the PoSh Hotkey in ADS

Custom Quarantine PoSh Prompt

Since I’ve been quarantined at home and working in my office, every day is the same. I can’t go to the gym, or coach, or go to the restaurant, or much of anything. As a result, I regularly, forget what … Continue reading

Posted in Blog | Tagged , , | Comments Off on Custom Quarantine PoSh Prompt