You often repeat certain standard things when writing scripts in Visual Studio Code. Wouldn't it be nice if we could simplify that? This blog post will show you how to use VSCode Snippets to your advantage!
Using PSScriptAnalyzer to optimize your PowerShell scripts
I use Visual Studio Code for writing PowerShell scripts, which makes formatting and writing so much easier. Even though it shows you things that you shouldn't do, for example using aliases, you can get even more tips and hints to make your code even better. This blog post will show you how to use the PSScriptAnalyzer module which can give you some additional hints that Visual Studio Code doesn't show you.
PowerShell tips and tricks
Over the years I learned a lot of PowerShell tricks but also stopped using a few because they are outdated or not that smart to use them any more performance-wise. In this blog post I will share a few of them 🙂 (These are just a few, will write a new blog post with others in the future)
How to make your PowerShell scripts look better
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!
Use Visual Studio Code instead of PowerShell ISE
I started writing PowerShell scripts using the built-in Windows PowerShell Integrated Scripting Environment (ISE) a long time ago. It's always there for you in Windows and was perfect for what I was doing then. But sometimes, you need 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.