Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 655 Bytes

functions-add-output-binding-powershell.md

File metadata and controls

16 lines (12 loc) · 655 Bytes
author ms.service ms.topic ms.date ms.author ms.custom
ggailey777
azure-functions
include
06/10/2022
glenga
devdivchpfy22

Add code that uses the Push-OutputBinding cmdlet to write text to the queue using the msg output binding. Add this code before you set the OK status in the if statement.

:::code language="powershell" range="18-19" source="~/functions-docs-powershell/functions-add-output-binding-storage-queue-cli/HttpExample/run.ps1":::

At this point, your function must look as follows:

:::code language="powershell" source="~/functions-docs-powershell/functions-add-output-binding-storage-queue-cli/HttpExample/run.ps1":::