Enable-StorageEnclosureIdentification
Enable-StorageEnclosureIdentification
Enables the identification LED on a storage enclosure or the slots for individual disks.
Sintaxis
Parameter Set: ByFriendlyName
Enable-StorageEnclosureIdentification [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-SlotNumbers <UInt32[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Parameter Set: ByUniqueId
Enable-StorageEnclosureIdentification -UniqueId <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-SlotNumbers <UInt32[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Parameter Set: InputObject (cdxml)
Enable-StorageEnclosureIdentification -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-SlotNumbers <UInt32[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Descripción detallada
The Enable-StorageEnclosureIdentification cmdlet enables the identification LED on the specified storage enclosure and, optionally, on the slots for individual disks. Administrators typically use LEDs to locate a physical disk in an enclosure for removal or replacement. This cmdlet requires a storage enclosure that supports SCSI Enclosure Services (SES).
Parámetros
-AsJob
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-CimSession<CimSession[]>
Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.
Alias |
Session |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-FriendlyName<String[]>
Specifies an array of friendly names. This cmdlet turns on the identification LED for the enclosures that the names specify or for slots that belong to the specified enclosures.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-InputObject<CimInstance[]>
Specifies an array of storage enclosures as CimInstance objects. This cmdlet turns on the identification LED for the enclosures that the objects specify, or for slots that belong to the specified enclosures. To obtain a storage enclosure object, use the Get-StorageEnclosure cmdlet.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-PassThru
Returns an array of StorageEnclosure objects. By default, this cmdlet does not generate any output.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-SlotNumbers<UInt32[]>
Specifies an array of slot numbers. This cmdlet turns on the identification LEDs for the slots that the numbers identify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-ThrottleLimit<Int32>
Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0
, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-UniqueId<String[]>
Specifies an array of IDs. This cmdlet turns on the identification LED for the enclosures that the IDs specify or for slots that belong to the specified enclosures.
Alias |
Id |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
MSFT_StorageEnclosure[]
This cmdlet does not generate any output by default. If you specify the Passthru parameter, the cmdlet returns an array of MSFT_StorageEnclosure objects.
Ejemplos
Example 1: Enable identification of an enclosure
This command enables identification for the enclosure named E11.
PS C:\> Enable-StorageEnclosureIdentification -FriendlyName "E11"
Example 2: Enable identification of specified slot numbers
This command enables identification for the slots numbers 20 and 14 of the enclosure named E11.
PS C:\> Enable-StorageEnclosureIdentification -FriendlyName "E11" -SlotNumbers @(20, 14)