Gets a list of all PhysicalDisk objects visible across any available Storage Management Providers, or optionally a filtered list.
Windows Server · Risk: Low · Documentation Verified
Last verified: 2026-10-26
Microsoft Storage reference: Gets a list of all PhysicalDisk objects visible across any available Storage Management Providers, or optionally a filtered list. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Use an account with the target resource permissions documented for Get-PhysicalDisk. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Supported environments
Windows / Storage · Windows Server 2025 documentation; feature/module prerequisites apply
Parameters
-CanPool
Gets physical disks that are available for use in a storage pool.
-CimSession
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.
-Description
Gets the physical disks that contain the specified description. Enter a description or use wildcard characters to enter a description pattern.
-FriendlyName
Gets the physical disk with the specified friendly name. Enter a friendly name or use wildcard characters to enter a name pattern.
-HasAllocations
Indicates whether the cmdlet gets a list of physical disks that host the extents of the virtual disk that you specify by using the *VirtualDisk* parameter.
-HealthStatus
Specifies the health status of physical disks. The acceptable values for this parameter are: - Healthy - Unhealthy - Unknown - Warning
-InputObject (required)
Specifies the input object that is used in a pipeline command.
-Manufacturer
Gets the physical disks with the specified manufacturer. Enter a manufacturer string or use wildcard characters to enter a pattern.
-Model
Gets the physical disks of the specified model. Enter a model string or use wildcard characters to enter a pattern.
-NoRedundancy
Indicates that this cmdlet gets physical disks that contain the last remaining copy of the data of a virtual disk.
-ObjectId
Specifies the ID of the physical disk to get.
-PhysicallyConnected
Indicates that this cmdlet gets physical disks that are physically connected to the specified storage node.
-SelectedForUse
Indicates whether the cmdlet gets a list of physical disks to host the extents that belong to the virtual disk specified by the *VirtualDisk* parameter. Specify the physical disks to host the extents of a virtual disk by using the *PhysicalDisksToUse* parameter of the New-VirtualDisk cmdlet.
-SerialNumber
Specifies the serial number of the physical disk to get.
-StorageEnclosure (required)
Specifies a storage enclosure associated with the physical disk that this cmdlet gets. To obtain a StorageEnclosure object, use the Get-StorageEnclosure cmdlet.
-StorageNode (required)
Specifies a storage node as a CimInstance object. The cmdlet gets the physical disk connected to the node that you specify. To obtain a storage node object, use the Get-StorageNode cmdlet.
-StoragePool (required)
Accepts a StoragePool object as input and gets the physical disks that belong to the pool. The Storage Pool CIM object is exposed by the Get-StoragePool cmdlet.
-StorageSubsystem (required)
Specifies a storage subsystem. This cmdlet gets physical disks attached to the storage subsystem that you specify. To obtain a StorageSubsystem object, use the Get-StorageSubSystem cmdlet.
-UniqueId
Gets only the physical disks with the specified IDs. Type one or more IDs (separated by commas), or use wildcard characters to enter a pattern.
-Usage
Specifies an allocation method or usage. This cmdlet gets the physical disks that have the specified allocation method. The acceptable values for this parameter are: - AutoSelect - HotSpare - Journal - ManualSelect - Retired - Unknown
-VirtualDisk (required)
Accepts a VirtualDisk object as input and gets the physical disks used by the virtual disk. The VirtualDisk object is exposed by the Get-VirtualDisk cmdlet.
-VirtualRangeMax
This parameter is reserved for future use.
-VirtualRangeMin
This parameter is reserved for future use.
Prerequisites
Windows with the Storage module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
Security considerations
This is a read-oriented cmdlet; protect any sensitive results and check the documented effects of your selected parameters.
Examples
Example 1: Getting all physical disks
Get-PhysicalDisk
This example returns an array of all PhysicalDisk objects present in the computer. A storage management provider is required to manage physical disks. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.