< Back

Set-AzureRmAutomationConnectionFieldValue

Tue Jan 29, 2019 9:33 pm

NAME Set-AzureRmAutomationConnectionFieldValue



SYNOPSIS

Modifies the value of a field in an Automation connection.





SYNTAX

Set-AzureRmAutomationConnectionFieldValue [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-Name] <String> -ConnectionFieldName

<String> [-DefaultProfile <IAzureContextContainer>] -Value <Object> [<CommonParameters>]





DESCRIPTION

The Set-AzureRmAutomationConnectionFieldValue cmdlet modifies the value of a field in a connection in Azure Automation.





PARAMETERS

-AutomationAccountName <String>

Specifies the name of the Automation account for which this cmdlet modifies a field in a connection.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ConnectionFieldName <String>

Specifies a name for the field that this cmdlet modifies.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies a name for the connection for which this cmdlet modifies a field.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group for which this cmdlet modifies a field in a connection.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Value <Object>

Specifies a value to modify in the connection field.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Automation.Model.Connection







NOTES









Example 1: Change a field value in a connection



PS C:\\>Set-AzureRmAutomationConnectionFieldValue -Name "ContosoConnection" -ConnectionFieldName "SubscriptionID" -Value

"b53ec456-3494-4847-8f2b-180901c51050" -ResourceGroupName "ResourceGroup01" -AutomationAccountName "AutomationAccount01"



This command changes the subscription ID for the Azure connection named ContosoConnection in the Automation account named AutomationAccount01.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... fieldvalue

New-AzureRmAutomationConnection