Skip to content

Instantly share code, notes, and snippets.

View dougbw's full-sized avatar

Douglas Brand-Williamson dougbw

View GitHub Profile
@dougbw
dougbw / Azure-Functions-Deployment.md
Last active April 11, 2019 10:53
How to deploy Azure functions using PowerShell

How to deploy Azure functions


The purpose of this document is to provide a high level guide on how to provision the required infrastructure resources and deploy an Azure Function based on a c# class library using PowerShell, following principals which align with a typical CI pipeline.

A sample project is located in the following repository: https://github.com/dougbrw/AzureFunctionExample which contains an arm template, azure function, and relevant deployment scripts.

Pre-Requisites:

  • Visual Studio
@dougbw
dougbw / Amdio-PowerShell-Standards.md
Last active June 30, 2025 02:47
PowerShell standards

PowerShell standards 1.0


1. Coding Style

The purpose of this section is to define rules to ensure code which affects the appearance of code rather than the functionality.

1.1. No aliases in scripts or functions

Always use the full command and parameter names in scripts and functions as aliases are should only be used in console sessions. Using aliases will produce inconsistent code as you will end up with a combination of alias and full commands which results in reduced readability. This also applies to the symbol aliases such as: