This is the built-in help made by Microsoft for the command 'Enable-PhysicalDiskIndication', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Enables the identification LED on the specified physical disk.
Enable-PhysicalDiskIndication [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Enable-PhysicalDiskIndication [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Enable-PhysicalDiskIndication [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
The Enable-PhysicalDiskIndication cmdlet enables the identification LED on the specified physical disk. The LED is typically used for visual identification of the location
of a physical disk in an enclosure for removal and replacement operations. This cmdlet requires a storage enclosure that supports SCSI Enclosure Services (SES).
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=294430
Where-Object
Disable-PhysicalDiskIndication
Get-StoragePool
Get-VirtualDisk
<
Example 1: Enable the identification LED on all physical disks in a pool
PS C:\> $stpool = (Get-StoragePool -FriendlyName "SpacePool")
PS C:\> Enable-PhysicalDiskIndication -StoragePool $stpool
This example enables the identification LED on all physical disks associated with the storage pool SpacePool. This is useful for identifying a specific virtual disk, when
the LED on the disk in question is not functioning.
Example 2: Enable the identification LED on all physical disks used by a virtual disk
PS C:\> $vdisk = (Get-VirtualDisk -FriendlyName "Bruce's Music")
PS C:\> Enable-PhysicalDiskIndication -VirtualDisk $vdisk
This example enables the identification LED on all physical disks associated with the virtual disk named Bruce’s Music to visually identify the physical disk associated with
the virtual disk.
Example 3: Enable the identification LED on all disks that are not healthy
PS C:\> Get-PhysicalDisk | Where-Object -FilterScript { $_.HealthStatus –Ne "healthy" } | Enable-PhysicalDiskIndication
This example gets all physical disks with a health status that is not Healthy, and pipes the disks to the Enable-PhysicalDiskIndication cmdlet, enabling the LEDs on the
disks, if supported by the drive enclosure.