PowerShell Logo Small

Reset-PhysicalDisk



This is the built-in help made by Microsoft for the command 'Reset-PhysicalDisk', 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.

SYNOPSIS

Resets the status of a physical disk.

SYNTAX


Reset-PhysicalDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Reset-PhysicalDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Reset-PhysicalDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<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

Online Version: http://go.microsoft.com/fwlink/?LinkID=307025
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.