Enable-StorageEnclosureIdentification

Enable-StorageEnclosureIdentification

Enables the identification LED on a storage enclosure or the slots for individual disks.

構文

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>]

詳細説明

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).

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-PassThru

Returns an array of StorageEnclosure objects. By default, this cmdlet does not generate any output.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-SlotNumbers<UInt32[]>

Specifies an array of slot numbers. This cmdlet turns on the identification LEDs for the slots that the numbers identify.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

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.

エイリアス

Id

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • 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.

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)

関連トピック

Disable-StorageEnclosureIdentification

Get-StorageEnclosure

Get-StorageEnclosureVendorData