Skip to content

Commit bf7519c

Browse files
authored
Merge pull request MicrosoftDocs#2480 from get-itips/patch-54
Fix example
2 parents 20058d7 + 326da32 commit bf7519c

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ This cmdlet requires a storage enclosure that supports SCSI Enclosure Services (
4545
PS C:\> Get-PhysicalDisk -StoragePool $pool | Disable-PhysicalDiskIdentification
4646
```
4747

48-
The command stores the pool in the $StPool variable.
49-
50-
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.
5149

5250
## PARAMETERS
5351

docset/winserver2019-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

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)