Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcAutoSupportDestination


NAME
Get-NcAutoSupportDestination

SYNOPSIS
Get a list of AutoSupport destinations.

SYNTAX
Get-NcAutoSupportDestination [[-Node] <String[]>] [[-Destination] <String[]>
] [-Attributes <AutosupportDestinationsInfo>] [-Controller <NcController[]>]
[<CommonParameters>]

Get-NcAutoSupportDestination -Template [-Controller <NcController[]>] [<Comm
onParameters>]

Get-NcAutoSupportDestination -Query <AutosupportDestinationsInfo> [-Attribut
es <AutosupportDestinationsInfo>] [-Controller <NcController[]>] [<CommonPar
ameters>]


DESCRIPTION
Get a list of AutoSupport destinations.


PARAMETERS
-Node <String[]>
The name of the controller that owns the destination configuration. Dat
a ONTAP wildcards are permitted.

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

-Destination <String[]>
Destination(s) used to deliver AutoSupport messages. Data ONTAP wildcar
ds are permitted.

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

-Attributes <AutosupportDestinationsInfo>
For improved scalability in large clusters, provide a AutosupportDestina
tionsInfo object with various fields set to indicate which fields to ret
urn on all objects. Undesired fields should remain set to null. Use "G
et-NcAutoSupportDestination -Template" to get the initially empty Autosu
pportDestinationsInfo object. If not specified, all data is returned fo
r 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 AutosupportDestinationsInfo object for use with
advanced queries involving the Query attribute.

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

-Query <AutosupportDestinationsInfo>
For advanced queries, provide a AutosupportDestinationsInfo object with
various fields set to indicate which records to retrieve. Other fields
should remain set to null. Use "Get-NcAutoSupportDestination -Template"
to get the initially empty AutosupportDestinationsInfo 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.AutosupportDestinationsInfo


NOTES


Category: autosupport
API: autosupport-destinations-get-iter
Family: cluster

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

C:\PS>Get-NcAutoSupportDestination fas3070cluster01-01


Get the AutoSupport destinations for node fas3070cluster01-01.


Destinations : {https://testbed.corp.netapp.com/put/AsupPut, https://testbed
.corp.netapp.com/asupprod/post/1.0/postAsup
}
NodeName : fas3070cluster01-01



RELATED LINKS







 Data ONTAP® PowerShell Toolkit