Skip to content

Instantly share code, notes, and snippets.

Avatar

Francisco Gamino Francisco-Gamino

  • Microsoft
View GitHub Profile
@Francisco-Gamino
Francisco-Gamino / Create-PowerShell-7-functionApp
Last active Jun 28, 2020
Create a PowerShell 7 function app using Az.Functions
View Create-PowerShell-7-functionApp
# 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
@Francisco-Gamino
Francisco-Gamino / Az.Functions.md
Last active Jul 8, 2020
Az.Functions - Managing Azure Functions via PowerShell.
View Az.Functions.md
# 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