< Back

Set-AutomationVariable

Sat Jan 11, 2020 10:12 am

NAME Set-AutomationVariable



SYNOPSIS

Set the value of a variable asset in Azure Automation.

Part of the Azure Automation Authoring Toolkit to help author runbooks locally.





SYNTAX

Set-AutomationVariable [-Name] <String> [-Value] <Object> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Name <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <Object>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS