Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 1.8 KB

Set-ESVariable.md

File metadata and controls

90 lines (66 loc) · 1.8 KB
external help file Module Name online version schema
EventSentry-help.xml
EventSentry
2.0.0

Set-ESVariable

SYNOPSIS

{{ Sets the value of a variable for the specified group }}

SYNTAX

Set-ESVariable [-variableName] <String> [-variableValue] <String> [-Group] <String> [<CommonParameters>]

DESCRIPTION

{{ Sets the value of a variable for the specified group }}

EXAMPLES

Example 1

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 }}

PARAMETERS

-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

-variableName

{{ 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

-variableValue

{{ 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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS