PowerShell Logo Small

Reset-PhysicalDisk



This is the built-in help made by Microsoft for the command 'Reset-PhysicalDisk', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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.

SYNOPSIS

Resets the status of a physical disk.

SYNTAX


Reset-PhysicalDisk [-FriendlyName] <String[]> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Reset-PhysicalDisk [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-InputObject <CimInstance[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Reset-PhysicalDisk [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-UniqueId <String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Reset-PhysicalDisk cmdlet resets the status of a physical disk. For storage spaces, this is a destructive operation that removes the
storage pool configuration and pool data from the specified physical disk.





<

RELATED LINKS

Where-Object
Add-PhysicalDisk
Get-PhysicalDisk
Remove-PhysicalDisk
Set-PhysicalDisk

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Reset-PhysicalDisk -FriendlyName "PhysicalDisk5"



This example resets the state of a specific physical disk.




EXAMPLE 2

PS C:\> $phydisk = (Get-Physicaldisk | Where-Object –FilterScript {$_.HealthStatus -Eq "Unhealthy"}


PS C:\> Reset-PhysicalDisk -FriendlyName $phydisk.FriendlyName



This example resets all of the unhealthy physical disks.