Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcAggrRelocation


NAME
Get-NcAggrRelocation

SYNOPSIS
Get aggregate relocation status.

SYNTAX
Get-NcAggrRelocation [[-Name] <String[]>] [[-SourceNode] <String[]>] [[-Dest
inationNode] <String[]>] -Template [-Controller <NcController[]>] [<CommonPa
rameters>]

Get-NcAggrRelocation [[-Name] <String[]>] [[-SourceNode] <String[]>] [[-Dest
inationNode] <String[]>] -Query <AggrRelocationInfo> [-Attributes <AggrReloc
ationInfo>] [-Controller <NcController[]>] [<CommonParameters>]

Get-NcAggrRelocation [[-Name] <String[]>] [[-SourceNode] <String[]>] [[-Dest
inationNode] <String[]>] [-Attributes <AggrRelocationInfo>] [-Controller <Nc
Controller[]>] [<CommonParameters>]


DESCRIPTION
Get aggregate relocation status.


PARAMETERS
-Name <String[]>
One or more aggregate names. Data ONTAP wildcards are accepted.

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

-SourceNode <String[]>
One or more source node names. Data ONTAP wildcards are accepted.

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

-DestinationNode <String[]>
One or more destination node names. DAta ONTAP wildcards are accepted.

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

-Template
Specify to get an empty AggrRelocationInfo object for use with advanced
queries involving the Query attribute.

Required? true
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

-Query <AggrRelocationInfo>
For advanced queries, provide an AggrRelocationInfo object with various
fields set to indicate which records to retrieve. Other fields should r
emain set to null. Use "Get-NcAggrRelocation -Template" to get the init
ially empty AggrRelocationInfo object.

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

-Attributes <AggrRelocationInfo>
For improved scalability in large clusters, provide an AggrRelocationInf
o object with various fields set to indicate which fields to return on a
ll objects. Undesired fields should remain set to null. Use "Get-NcAgg
rRelocation -Template" to get the initially empty AggrRelocationInfo obj
ect. If not specified, all data is returned for each object.

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.Aggr.AggrRelocationInfo


NOTES


Category: aggr
API: aggr-relocation-status
Family: cluster

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

C:\PS>Get-NcAggrRelocation


Get all of the aggregate relocations currently occurring in the current clus
ter.


Aggregate SourceNode Destination
RelocationStatus
--------- ---------- -----------
----------------
aggr1 sfp-cmode-02-01 sfp-cmode-02-02
Done



RELATED LINKS
Move-NcAggr







 Data ONTAP® PowerShell Toolkit