Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcShelf


NAME
Get-NcShelf

SYNOPSIS
Get information about one or more shelves.

SYNTAX
Get-NcShelf [-NodeName] <String> [-Controller <NcController[]>] [<CommonPara
meters>]

Get-NcShelf [-NodeName] <String> [-ChannelName] <String> [[-ShelfId] <Int32>
] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Get information about one or more shelves.


PARAMETERS
-NodeName <String>
The storage system name the command will be executed on.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
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

-ChannelName <String>
The adapter number or switch name and the port number (together, called
the channel). If missing, then information for all shelves on all channe
ls will be presented.

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

-ShelfId <Int32>
The shelf number for which shelf data is requested. If specified, Channe
lName must also be specified. If a ChannelName and ShelfId are both spec
ified then information for the specified shelf will be presented (a sing
le shelf). If ChannelName is specified, but ShelfId is missing, then inf
ormation for all shelves on the channel will be presented.

Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
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.Ses810.ShelfInfo


NOTES


Category: ses
API: storage-shelf-list-info
Family: cluster

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

C:\PS>Get-NcShelf VxeRubble-01 1a


Get the shelf information for the node VxeRubble-01 and channel id 1a.


ChannelName : 1a
FirmwareRevA : 01
FirmwareRevB : 41
Module : b
ModuleState : ok
NodeName : VxeRubble-01
PhyExpanderList : {sqr0, sqr1, sqr2, sqr3...}
PortHubList :
ShelfBayInfo : NetApp.Ontapi.Filer.C.Ses810.ShelfBayInfo
ShelfId : 1
ShelfName : 1a.shelf1
ShelfState : online
ShelfType : IOM3
ShelfUid : 50:05:0c:c1:02:01:63:d2
TerminationSwitch : n/a

ChannelName : 1a
FirmwareRevA : 01
FirmwareRevB : 41
Module : b
ModuleState : ok
NodeName : VxeRubble-01
PhyExpanderList : {sqr0, sqr1, sqr2, sqr3...}
PortHubList :
ShelfBayInfo : NetApp.Ontapi.Filer.C.Ses810.ShelfBayInfo
ShelfId : 2
ShelfName : 1a.shelf2
ShelfState : online
ShelfType : IOM3
ShelfUid : 50:05:0c:c1:02:01:6e:43
TerminationSwitch : n/a



RELATED LINKS
Get-NcShelfBay
Get-NcShelfEnvironment







 Data ONTAP® PowerShell Toolkit