# Managing Azure Functions via PowerShell Cmdlets
# Prerequisites:
# - PowerShell Core 6 or greater --> https://github.com/PowerShell/PowerShell/releases
# - Core Tools --> https://github.com/Azure/azure-functions-core-tools#installing
# - Az.Functions preview module --> https://www.powershellgallery.com/packages/Az.Functions/0.0.2-preview
# Install Azure Functions PowerShell core module
Install-Module -Name Az.Functions -AllowPrerelease
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the PowerShell 7. To do this, run the following: | |
iex "& { $(irm 'https://aka.ms/install-powershell.ps1')} -UseMSI" | |
# Open PowerShell 7 and install the latest version of Az which includes Az.Functions | |
# Link to Az.Functions docs -- https://docs.microsoft.com/en-us/powershell/module/az.functions/?view=azps-4.3.0#functions | |
Install-Module Az | |
# Sign in to Azure | |
Login-AzAccount |