Jume - My Virtualization Blog
Some short PowerShell tips #4
Try a container! As a followup on tip 4, you can also try (and of course even run in production) PowerShell (and PowerCLI) in a container with for example Docker! This allows you to investigate if PowerShell is something for you. If you're a long time PowerCLI user, grab that container too!
Official PowerShell container: https://hub.docker.com/_/microsoft-powershell
docker pull mcr.microsoft.com/powershell
Official PowerCLI container: https://hub.docker.com/r/vmware/powerclicore/
docker pull vmware/powerclicore
Both are official containers and well maintained.
Use a proper IDE! A good IDE (Integrated Development Environment) is essential to your day-to-day scripting and development. And my favorite at this moment is Visual Studio Code (https://code.visualstudio.com/). It's free, fast, actively maintained, platform-independent, fully extensible using marketplace with loads of extensions, fully customizable, full git support, powerful debugging capabilities, and code highlighting plus formatting through IntelliSense. Oh, and did I say it is free!!!! Yeah, all that for free - I can highly recommend it!
And once you downloaded and installed VSCode, ensure you get the Powershell extension next (https://github.com/PowerShell/vscode-powershell).
And while you're checking that out, also grab the docker extension (https://github.com/microsoft/vscode-docker). This extension allows you to easy build, manage and deploy containerized application. To get an idea on how it looks like, check out the screenshot below.
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.