|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcAutoSupportTrigger
NAME
Get-NcAutoSupportTrigger
SYNOPSIS
Get the AutoSupport trigger data.
SYNTAX
Get-NcAutoSupportTrigger [[-Node] <String[]>] [[-Name] <String[]>] [-Attribu
tes <AutosupportTriggerInfo>] [-Controller <NcController[]>] [<CommonParamet
ers>]
Get-NcAutoSupportTrigger -Template [-Controller <NcController[]>] [<CommonPa
rameters>]
Get-NcAutoSupportTrigger -Query <AutosupportTriggerInfo> [-Attributes <Autos
upportTriggerInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get the AutoSupport trigger data.
PARAMETERS
-Node <String[]>
The name of the controller that owns the trigger configuration. Data ON
TAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Name <String[]>
The name of the trigger(s) to get. Data ONTAP wildcards are permitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <AutosupportTriggerInfo>
For improved scalability in large clusters, provide a AutosupportTrigger
Info object with various fields set to indicate which fields to return o
n all objects. Undesired fields should remain set to null. Use "Get-Nc
AutoSupportTrigger -Template" to get the initially empty AutosupportTrig
gerInfo object. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-Template
Specify to get an empty AutosupportTriggerInfo object for use with advan
ced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <AutosupportTriggerInfo>
For advanced queries, provide a AutosupportTriggerInfo object with vario
us fields set to indicate which records to retrieve. Other fields shoul
d remain set to null. Use "Get-NcAutoSupportTrigger -Template" to get t
he initially empty AutosupportTriggerInfo object.
Required? true
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-trigger-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcAutoSupportTrigger fas3070cluster01-01
Get the AutoSupport trigger information for node fas3070cluster01-01.
NcController : 10.61.172.155
AdditionalContent :
BasicAdditional :
BasicDefault : {mandatory, log_files, platform, wafl...}
NodeName : fas3070cluster01-01
NotetoEnabled : enabled
TimeLimit :
ToEnabled : enabled
Trigger : aggr.offline
TroubleshootingAdditional :
TroubleshootingDefault : {mandatory, wafl, log_files}
NotetoEnabledSpecified : True
TimeLimitSpecified : False
ToEnabledSpecified : True
NcController : 10.61.172.155
AdditionalContent :
BasicAdditional :
BasicDefault : {mandatory, log_files, platform, raid...}
NodeName : fas3070cluster01-01
NotetoEnabled : enabled
TimeLimit :
ToEnabled : disabled
Trigger : aggr.restricted
TroubleshootingAdditional :
TroubleshootingDefault : {mandatory, raid, wafl, log_files}
NotetoEnabledSpecified : True
TimeLimitSpecified : False
ToEnabledSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcAutoSupportTrigger -Template
$q.TroubleshootingDefault ="wafl"
Get-NcAutoSupportTrigger -Query $q
Get the AutoSupport triggers that have "wafl" listed as a troubleshooting de
fault subsystem.
NcController : 10.61.172.155
AdditionalContent :
BasicAdditional :
BasicDefault : {mandatory, log_files, platform, wafl...}
NodeName : fas3070cluster01-01
NotetoEnabled : enabled
TimeLimit :
ToEnabled : enabled
Trigger : aggr.offline
TroubleshootingAdditional :
TroubleshootingDefault : {mandatory, wafl, log_files}
NotetoEnabledSpecified : True
TimeLimitSpecified : False
ToEnabledSpecified : True
NcController : 10.61.172.155
AdditionalContent :
BasicAdditional :
BasicDefault : {mandatory, log_files, platform, raid...}
NodeName : fas3070cluster01-01
NotetoEnabled : enabled
TimeLimit :
ToEnabled : disabled
Trigger : aggr.restricted
TroubleshootingAdditional :
TroubleshootingDefault : {mandatory, raid, wafl, log_files}
NotetoEnabledSpecified : True
TimeLimitSpecified : False
ToEnabledSpecified : True
RELATED LINKS
Set-NcAutoSupportTrigger
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|