external help file | Module Name | online version | schema |
---|---|---|---|
EventSentry-help.xml |
EventSentry |
2.0.0 |
{{ Adds host to a group }}
Add-ESHost [-Group] <String> [-Hostname] <String> [[-IP] <String>] [-SaveConfig <Boolean>] [<CommonParameters>]
{{ Adds host to a group }}
PS C:\> {{ Add-ESHost "Default Group" MAILSERVER01 }}
{{ Adds host MAILSERVER01 to group "Default Group" }}
{{ Name of the EventSentry group to add the host to }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Name of the host to add }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ IP address of the specified host }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Set to $false to prevent the config to be saved automatically, useful when adding many hosts in sequence }}
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
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.