|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaShelf
NAME
Get-NaShelf
SYNOPSIS
Get information about one or more shelves.
SYNTAX
Get-NaShelf [-All] [-Controller <NaController>] [<CommonParameters>]
Get-NaShelf [-Channel] <String> [[-Shelf] <Int32>] [-All] [-Controller <NaCo
ntroller>] [<CommonParameters>]
DESCRIPTION
Get information about one or more shelves.
PARAMETERS
-All
Specify to include partner shelves. By default, shelves with a ChannelN
ame of 'PARTNER' are not returned.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Channel <String>
The adapter number or switch name and the port number (together, called
the channel). If missing, then information for all shelves on all chann
els will be presented. If missing, then Shelf input is not allowed. Ex
amples are 8a.1 and switch:5.1.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Shelf <Int32>
Shelf is the shelf number for which shelf data is requested. This input
requires that Channel also be specified. If Channel and Shelf are both
specified then information for the specified shelf will be presented (a
single shelf). If Channel is specified, but Shelf is missing, then infor
mation for all shelves on the channel will be presented. If Channel is
not specified then Shelf is not supported. In such case information for
all shelves on all channels will be presented.
Required? false
Position? 2
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
DataONTAP.Types.Ses.ShelfInfo
NOTES
Category: ses
API: storage-shelf-list-info
-------------- Example 1 --------------
C:\PS>Get-NaShelf
List all shelves.
Name Status Channel ID Bays Type
---- ------ ------- -- ---- ----
0a.shelf1 online 0a 1 14 ESH2
0b.shelf1 online 0b 1 14 ESH2
RELATED LINKS
Get-NaShelfEnvironment
Set-NaShelfLight
Start-NaShelfUpdate
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|