Skip to content

Powershell

Marius Storhaug edited this page Nov 24, 2021 · 1 revision

Do not confuse this with Windows PowerShell! This is all about PowerShell (Core)!

PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

Download

Download PowerShell today!

If you are using Windows 10 and have winget, you can use the following command to install PowerShell.

# Installs the stable version
winget install Microsoft.PowerShell --silent

# Installs the preview version (in development)
winget install Microsoft.PowerShell-Preview --silent

Modules

A module is a package that contains PowerShell members, such as cmdlets, providers, functions, workflows, variables, and aliases. The members of this package can be implemented in a PowerShell script, a compiled DLL, or a combination of both. These files are usually grouped together in a single directory.

Modules for Azure

The Az PowerShell module is a set of cmdlets for managing Azure resources directly from PowerShell. PowerShell provides powerful features for automation that can be leveraged for managing your Azure resources for examples in the context of a CI/CD pipeline.

Azure Powershell Module | Microsoft Docs

Install-Module -Name Az -Scope CurrentUser -Force

References

Clone this wiki locally