When testing your new PowerShell script, it throws an expected error or isn't that reliable and you're not sure why 🙁 The debugging options in Visual Studio code could help you to pinpoint the issue, in this blog post I will show you how to do that.
Saw a video about Jupyter in Visual Studio Code a while back, tried to get it up and running, and... It seems that things are changed now, it was there in VSCode preview versions together with the PowerShell preview extension. All the How-To's I found showed me that way of getting it installed/configured. So I played around a little bit with Jupyter and the PowerShell kernel installation and got it working in VSCode, in this blogpost I will show you how to install and configure everything 🙂
When I started writing my first PowerShell scripts... They didn't look that good, it was PowerShell 2.0 of course and I was just a beginner 🙂 I'm getting better at it and the newer versions of PowerShell (And Visual Studio Code) have a few nice formatting tricks. This blog post will show you a few ways to make your scripts look better and more importantly... A lot more readable!
All the scripts that I used in my blog posts are available on GitHub now 🙂 All new items will appear there too. You can download them individually or clone my repository to your hard drive. (How to Clone) The GitHub URL is https://github.com/HarmVeenstra/Powershellisfun. I also added the URL on each blog post page at the end so that you can jump straight away to the correct folder.
Since I started using Visual Studio Code for creating PowerShell scripts, I added more extensions to it which make the look and feel better and make scripting easier. In this blog post, I will show you which ones I use and why. If you use certain extensions that you want to share, please leave a comment 🙂
A long time ago I started writing PowerShell scripts using the built-in Windows PowerShell Integrated Scripting Environment (ISE), it's always there for you in Windows and was perfect for the things that I was doing at the time. But sometimes you just need a bit more functionality and that's where Visual Studio Code (VS Code) comes in. In this blog post, I would like to show you some features which make VS Code my editor of choice.