This repository contains a starter DevContainer for developing with PowerShell.
In order to use the Az PowerShell cmdlets you must be logged in. The simpålest way to to this is to use the device flow and login as follows:
Connect-AzAccount -DeviceAuth
If you want to add extensions to VS Code, update the file devcontainer.json
The container includes Pester so you can use test driven development. The code from the Pester quick start is included. Open the VS Code terminal and start a test run as follows:
Invoke-Pester -Output Detailed
this will discover testfiles and execute them.