FIX: ‘else’ is not recognized as cmdlet Visual Studio Code debugger

Debugging Visual Studio Code and manually running an if else statement erroring If you look at the piece of code below, you would say this works. This works, but when you run this manually in the Visual Studio Code debugger, you get the following error: else: The term ‘else’ is not recognized as a name … Continue reading FIX: ‘else’ is not recognized as cmdlet Visual Studio Code debugger

How to optimize and speed up your PowerShell scripts

My best practices, tips and tricks working with PowerShell This is a blog post that is not deeply technical. I will not go deep into the tips and tricks, because you will learn this automatically when you have more experience & when you are ready. I have a seperate blog post about best practices, tips … Continue reading How to optimize and speed up your PowerShell scripts