This repository contains skeleton code for Azure PowerShell Functions in the V2 programming model.
- Install the Azure Functions Core Tools private build for your corresponding OS and architecture:
- (Optional) Install Azurite for storage emulation:
- Example:
npm install -g azurite
- Example:
- Clone this repository and cd into the function app root directory:
git clone https://github.com/michaelpeng36/ps-functions-v2-programming-model-bundles.git cd ps-functions-v2-programming-model-bundles
- If you are using storage emulation, run the below command in a separate PowerShell window to start storage emulation:
Otherwise, ensure that the appropriate KeyVault reference or connection string is set in the
azurite
AzureWebJobsStorage
property ofhost.json
. - Start Core Tools to begin local development:
There should be one HTTP function pre-written for you called
func start
HttpTrigger1
. - Continue writing your other functions in the V2 programming model!