|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaShelfLight
NAME
Set-NaShelfLight
SYNOPSIS
Set or clear the LED for a disk or shelf of disks.
SYNTAX
Set-NaShelfLight [-Channel] <String> [-Shelf] <Int32> [[-Bay] <Int32>] [-Off
] [-Controller <NaController>] [<CommonParameters>]
DESCRIPTION
Set or clear the LED for a disk or shelf of disks. LEDs to affect can be sp
ecified as: {channel-name, shelf-id} or {channel-name, shelf-id, shelf-bay}.
PARAMETERS
-Channel <String>
The channel to which the shelf or drive LED to be affected is connected.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Shelf <Int32>
Shelf indicates the ID of the shelf where the LEDs to affect reside.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Bay <Int32>
If present, Bay indicates the specific drive where the LED affected resi
des. Otherwise all LEDs in the specified shelf are affected.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Off
Specify to turn the LEDs off. By default, this cmdlet turns the LEDs on
.
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
<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
NOTES
Category: ses
API: storage-shelf-set-led-state
-------------- Example 1 --------------
C:\PS>Set-NaShelfLight 0a 1
Turn on the LEDs on channel 0a, shelf ID 1.
-------------- Example 2 --------------
C:\PS>Get-NaShelf | Set-NaShelfLight
Turn on all LEDs on all shelves.
RELATED LINKS
Get-NaShelf
Get-NaShelfEnvironment
Start-NaShelfUpdate
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|