Skip to content

yooakim/pwshdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Visual Studio Code Dev Container

This repository contains a starter DevContainer for developing with PowerShell.

Login to Azure

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

Adding extensions

If you want to add extensions to VS Code, update the file devcontainer.json

Using Pester

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.

About

PowerShell Devlopment container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published