Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcAutoSupportTrigger


NAME
Set-NcAutoSupportTrigger

SYNOPSIS
Modify the AutoSupport trigger data for the given node and EMS message.

SYNTAX
Set-NcAutoSupportTrigger [-Node] <String> [-Trigger] <String> [-ToEnabled [<
Boolean>]] [-NoteToEnabled [<Boolean>]] [-BasicAdditional <String[]>] [-Trou
bleshootingAdditional <String[]>] [-TimeLimit <Int64>] [-Controller <NcContr
oller[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Modify the AutoSupport trigger data for the given node and EMS message.


PARAMETERS
-Node <String>
The name of a controller on which the AutoSupport tool is running.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Trigger <String>
The name of the trigger to modify.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-ToEnabled [<Boolean>]
If true, deliver to AutoSupport -to addresses.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-NoteToEnabled [<Boolean>]
If true, deliver to AutoSupport -noteto Addresses.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-BasicAdditional <String[]>
Additional subsystems reporting basic info.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-TroubleshootingAdditional <String[]>
Additional subsystems reporting troubleshooting info.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-TimeLimit <Int64>
The data collection time budget for this trigger (in seconds).

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Autosupport.AutosupportTriggerInfo


NOTES


Category: autosupport
API: autosupport-config-modify
Family: cluster

-------------- Example 1 --------------

C:\PS>Set-NcAutoSupportTrigger fas3070cluster01-01 weekly -BasicAdditional @
("fpolicy","performance_asup")


Add the subsystems "fpolicy" and "performance_asup" to the basic reporting f
or the weekly trigger.


NcController : 10.61.172.155
AdditionalContent : {basic}
BasicAdditional : {performance_asup, fpolicy}
BasicDefault : {mandatory, platform, mhost, performance...}
NodeName : fas3070cluster01-01
NotetoEnabled : disabled
TimeLimit :
ToEnabled : disabled
Trigger : weekly
TroubleshootingAdditional :
TroubleshootingDefault : {mandatory, networking}
NotetoEnabledSpecified : True
TimeLimitSpecified : False
ToEnabledSpecified : True



RELATED LINKS
Get-NcAutoSupportTrigger







 Data ONTAP® PowerShell Toolkit