Skip to content

Latest commit

 

History

History
104 lines (78 loc) · 1.93 KB

Add-ESHost.md

File metadata and controls

104 lines (78 loc) · 1.93 KB
external help file Module Name online version schema
EventSentry-help.xml
EventSentry
2.0.0

Add-ESHost

SYNOPSIS

{{ Adds host to a group }}

SYNTAX

Add-ESHost [-Group] <String> [-Hostname] <String> [[-IP] <String>] [-SaveConfig <Boolean>] [<CommonParameters>]

DESCRIPTION

{{ Adds host to a group }}

EXAMPLES

Example 1

PS C:\> {{ Add-ESHost "Default Group" MAILSERVER01 }}

{{ Adds host MAILSERVER01 to group "Default Group" }}

PARAMETERS

-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

-Hostname

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

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

-SaveConfig

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

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