Skip to content

Commit 326da32

Browse files
authored
edit for 2022
1 parent 20e9a6f commit 326da32

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docset/winserver2022-ps/storage/Disable-PhysicalDiskIdentification.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ This cmdlet requires a storage enclosure that supports SCSI Enclosure Services (
4242

4343
### Example 1: Disable the identification LED on all physical disks in a pool
4444
```
45-
PS C:\>$StPool = (Get-StoragePool -FriendlyName "SpacePool")
46-
PS C:\> Disable-PhysicalDiskIndication -StoragePool $StPool
45+
PS C:\> Get-PhysicalDisk -StoragePool $pool | Disable-PhysicalDiskIdentification
4746
```
4847

49-
The first command gets the storage poll named SpacePool by using the Get-StoragePool cmdlet.
50-
The command stores the pool in the $StPool variable.
51-
52-
The second command disables the identification LED on all physical disks associated with the storage pool in $StPool.
48+
This example disables the identification LED on all physical disks associated with the storage pool in $pool.
5349

5450
## PARAMETERS
5551

0 commit comments

Comments
 (0)