Enable-StorageEnclosureIdentification
Enable-StorageEnclosureIdentification
Enables the identification LED on a storage enclosure or the slots for individual disks.
Syntax
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>]
Detaillierte Beschreibung
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).
Parameter
-AsJob
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-CimSession<CimSession[]>
Führt das Cmdlet in einer Remotesitzung oder auf einem Remotecomputer aus. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, z. B. die Ausgabe eines Cmdlets New-CimSession oder Get-CimSession. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.
Aliasse |
Session |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Keiner |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Keiner |
Erforderlich? |
true |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue) |
Platzhalterzeichen akzeptieren? |
false |
-PassThru
Returns an array of StorageEnclosure objects. By default, this cmdlet does not generate any output.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-SlotNumbers<UInt32[]>
Specifies an array of slot numbers. This cmdlet turns on the identification LEDs for the slots that the numbers identify.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-ThrottleLimit<Int32>
Gibt die maximale Anzahl von gleichzeitigen Vorgängen an, die zum Ausführen dieses Cmdlets eingerichtet werden können. Wenn dieser Parameter ausgelassen oder der Wert 0
eingegeben wird, berechnet Windows PowerShell® einen optimalen Drosselungsgrenzwert für das Cmdlet basierend auf der Anzahl der CIM-Cmdlets, die auf dem Computer ausgeführt werden. Die Drosselungsgrenze gilt nur für das aktuelle Cmdlet und nicht für die Sitzung oder den Computer.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Id |
Erforderlich? |
true |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
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.
Beispiele
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)