|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcNode
NAME
Get-NcNode
SYNOPSIS
Obtain the node information when the node is a part of a cluster.
SYNTAX
Get-NcNode [[-Name] <String[]>] [-Attributes <NodeDetailsInfo>] [-Controller
<NcController[]>] [<CommonParameters>]
Get-NcNode -Template [-Controller <NcController[]>] [<CommonParameters>]
Get-NcNode -Query <NodeDetailsInfo> [-Attributes <NodeDetailsInfo>] [-Contro
ller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Obtain the node information when the node is a part of a cluster.
PARAMETERS
-Name <String[]>
The name of one or more nodes to get. Data ONTAP wildcards are permitte
d.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <NodeDetailsInfo>
For improved scalability in large clusters, provide a NodeDetailsInfo ob
ject with various fields set to indicate which fields to return on all o
bjects. Undesired fields should remain set to null. Use "Get-NcNode -T
emplate" to get the initially empty NodeDetailsInfo object. If not spec
ified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each 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 NodeDetailsInfo object for use with advanced que
ries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <NodeDetailsInfo>
For advanced queries, provide a NodeDetailsInfo object with various fiel
ds set to indicate which records to retrieve. Other fields should remai
n set to null. Use "Get-NcNode -Template" to get the initially empty No
deDetailsInfo 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
NetApp.Ontapi.Filer.C.System810.NodeDetailsInfo
NOTES
Category: system
API: system-node-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcNode
List all nodes in the current cluster.
Name NodeModel NodeLocation
---- --------- ------------
Cerebus-03 FAS3070 SeaLab-A7
Cerebus-04 FAS3040 SeaLab-A7
Cerebus-05 FAS3040 SeaLab-A7
Cerebus-06 FAS3040 SeaLab-A7
-------------- Example 2 --------------
C:\PS>$n = Get-NcNode -Template
$n.NodeModel = "*3070"
Get-NcNode -Query $n
List nodes comprised of FAS3070 controllers.
Name NodeModel NodeLocation
---- --------- ------------
Cerebus-03 FAS3070 SeaLab-A7
RELATED LINKS
Get-NcNodeInfo
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|