Editar

Compartilhar via


Disable-PhysicalDiskIdentification

Turns off the identification LED on the specified physical disk.

Syntax

Disable-PhysicalDiskIdentification
       [-FriendlyName] <String>
       [-CimSession <CimSession>]
       [-ThrottleLimit <Int32>]
       [-AsJob]
       [<CommonParameters>]
Disable-PhysicalDiskIdentification
       -UniqueId <String>
       [-CimSession <CimSession>]
       [-ThrottleLimit <Int32>]
       [-AsJob]
       [<CommonParameters>]
Disable-PhysicalDiskIdentification
       -InputObject <CimInstance[]>
       [-CimSession <CimSession>]
       [-ThrottleLimit <Int32>]
       [-AsJob]
       [<CommonParameters>]

Description

The Disable-PhysicalDiskIndication cmdlet turns off 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).

Examples

Example 1: Disable the identification LED on all physical disks in a pool

PS C:\> Get-PhysicalDisk -StoragePool $pool | Disable-PhysicalDiskIdentification

This example disables the identification LED on all physical disks associated with the storage pool in $pool.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CimSession

Type:CimSession
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FriendlyName

Specifies the friendly name of the disk on which to turn off the identification LED.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-InputObject

Specifies the input object that is used in a pipeline command.

Type:CimInstance[]
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ThrottleLimit

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UniqueId

Specifies the UniqueID of the disk on which to turn off the identification LED.

Type:String
Aliases:Id
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Notes

  • When used in Failover Cluster, cmdlets from the Storage module operate on cluster level (all servers in the cluster).