|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcAutoSupportConfig
NAME
Get-NcAutoSupportConfig
SYNOPSIS
Get AutoSupport configuration settings.
SYNTAX
Get-NcAutoSupportConfig [[-Node] <String[]>] [-Attributes <AutosupportConfig
Info>] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcAutoSupportConfig -Template [-Controller <NcController[]>] [<CommonPar
ameters>]
Get-NcAutoSupportConfig -Query <AutosupportConfigInfo> [-Attributes <Autosup
portConfigInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get AutoSupport configuration settings.
PARAMETERS
-Node <String[]>
The name of the controller that owns the AutoSupport configuration. Dat
a ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <AutosupportConfigInfo>
For improved scalability in large clusters, provide a AutosupportBudgetI
nfo object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcA
utoSupportBudget -Template" to get the initially empty AutosupportBudget
Info 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 AutosupportBudgetInfo object for use with advanc
ed queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <AutosupportConfigInfo>
For advanced queries, provide a AutosupportBudgetInfo object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcAutoSupportBudget -Template" to get the
initially empty AutosupportBudgetInfo 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.AutosupportConfigInfo
NOTES
Category: autosupport
API: autosupport-config-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcAutoSupportConfig fas3070cluster01-01
Get the AutoSupport configuration for node fas3070cluster01-01.
From : Postmaster
IsEnabled : True
IsLocalCollectionEnabled : True
IsNhtDataEnabled : True
IsNodeInSubject : False
IsPerfDataEnabled : True
IsPrivateDataRemoved : False
IsReminderEnabled : True
IsSupportEnabled : True
IsThrottleEnabled : True
LastSubject : MANAGEMENT_LOG
LastTimestamp : 1332116303
LastTrigger :
MailHosts : {mailhost}
MaxHttpSize : 10485760
MaxSmtpSize : 5242880
NodeName : fas3070cluster01-01
Noteto :
PartnerAddress :
PayloadFormat : 7z
PeriodicTxWindow : 1h
PostUrl : testbed.corp.netapp.com/asupprod/post/1.
0/postAsup
ProxyUrl :
PutUrl : testbed.corp.netapp.com/put/AsupPut
RetryCount : 15
RetryInterval : 4m
SupportAddress : {dl-qa-autosupport@netapp.com}
To :
Transport : https
-------------- Example 2 --------------
C:\PS>$q = Get-NcAutoSupportConfig -Template
$q.IsEnabled = $true
Get-NcAutoSupportConfig -Query $q
Get all of the AutoSupport configurations for nodes that have AutoSupport en
abled.
From : Postmaster
IsEnabled : True
IsLocalCollectionEnabled : True
IsNhtDataEnabled : True
IsNodeInSubject : False
IsPerfDataEnabled : True
IsPrivateDataRemoved : False
IsReminderEnabled : True
IsSupportEnabled : True
IsThrottleEnabled : True
LastSubject : MANAGEMENT_LOG
LastTimestamp : 1332116303
LastTrigger :
MailHosts : {mailhost}
MaxHttpSize : 10485760
MaxSmtpSize : 5242880
NodeName : fas3070cluster01-01
Noteto :
PartnerAddress :
PayloadFormat : 7z
PeriodicTxWindow : 1h
PostUrl : testbed.corp.netapp.com/asupprod/post/1.
0/postAsup
ProxyUrl :
PutUrl : testbed.corp.netapp.com/put/AsupPut
RetryCount : 15
RetryInterval : 4m
SupportAddress : {dl-qa-autosupport@netapp.com}
To :
Transport : https
RELATED LINKS
Set-NcAutoSupportConfig
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|