external help file | Module Name | online version | schema |
---|---|---|---|
EventSentry-help.xml |
EventSentry |
2.0.0 |
{{ Sets the value of a variable for the specified group }}
Set-ESVariable [-variableName] <String> [-variableValue] <String> [-Group] <String> [<CommonParameters>]
{{ Sets the value of a variable for the specified group }}
PS C:\> {{ Set-ESVariable EMAILRECIPIENT admin.john@yourcompany.com "Network Devices" }}
{{ Set the value of the variable EMAILRECIPIENT to [email protected] for all hosts in the "Network Devices" group }}
{{ Name of the group in which the variable will be set }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Name of the variable }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Value of the variable }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.