Skip to content

Instantly share code, notes, and snippets.

View Francisco-Gamino's full-sized avatar

Francisco Gamino Francisco-Gamino

  • Microsoft
View GitHub Profile
@Francisco-Gamino
Francisco-Gamino / Az.Functions.md
Last active July 8, 2020 15:21
Az.Functions - Managing Azure Functions via PowerShell.
# 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
@Francisco-Gamino
Francisco-Gamino / Create-PowerShell-7-functionApp
Last active July 25, 2022 12:45
Create a PowerShell 7 function app using Az.Functions
# 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