Tag Archives: powershell

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 , , | Leave a comment

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 , ,

Executing PoSh line by line in VS Code

Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers. I’ve had to relearn this trick multiple times, so I decided to write a post. The simple answer is … Continue reading

Posted in Blog | Tagged , , | 2 Comments