Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 454 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 454 Bytes

Hello World example

This example generated with following command:

$PC = 'function Hello([string]$Name="World"){"Hello $Name"}'
Invoke-Expression $PC
New-AzureFunctionCode  -CommandName Hello -PreCode $PC

Parameter -PreCode defines custom function Hello which will be executed (defined) within Azure Function. This function should be also available in current user space in order for local functions to analyze it properly.