external help file | Module Name | online version | schema |
---|---|---|---|
EventSentry-help.xml |
EventSentry |
2.0.0 |
{{ Adds a maintenance schedule to a host }}
Add-ESMaintenance [-Group] <String> [-Hostname] <String> [-timeframe] <Int32> [-scaleMC] <String>
[<CommonParameters>]
{{ Adds a maintenance schedule to a host }}
PS C:\> {{ Add-ESMaintenance "Default Group" SERVER01 15 min }}
{{ Starts a 15 minute maintenance schedule for host SERVER01 in group "Default Group" }}
{{ Name of the EventSentry group of the host }}
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 which to add the maintenance schedule }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Time scale, can be one of the following: sec min hour day }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Length of the maintenance schedule in seconds, minutes, hours or days }}
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
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.