Home

GetVolume

Get-Volume is a PowerShell cmdlet in the Storage module that retrieves information about logical storage volumes on a Windows system. It provides a read-only view of volumes, including local disks, removable media, and volumes managed by Storage Spaces. The command returns objects that describe each volume with details such as drive letter, file system, total size, free space, and health and operational status.

The cmdlet is designed for inspection and reporting rather than modification. It can be used to quickly

Get-Volume complements other Storage module cmdlets such as Get-Partition and Get-PhysicalDisk, which provide related views of

Availability and scope: Get-Volume is part of the Storage module that ships with Windows PowerShell on Windows

inventory
the
storage
topology,
compare
capacities,
or
monitor
space
usage.
Typical
usage
includes
listing
all
volumes,
filtering
by
drive
letter
or
file
system,
and
selecting
specific
properties
for
display
or
logging.
For
example,
Get-Volume
by
itself
lists
all
volumes,
Get-Volume
-DriveLetter
C
targets
a
single
volume,
and
Get-Volume
-FileSystem
NTFS
filters
volumes
by
their
file
system.
Output
can
be
piped
to
Where-Object
or
Select-Object
to
refine
results.
the
storage
stack.
For
making
changes
to
volumes,
other
cmdlets
like
Set-Volume,
Resize-Volume,
and
Format-Volume
exist,
and
Get-Volume
itself
will
not
modify
volumes.
8/Server
2012
and
later.
It
applies
to
both
traditional
local
volumes
and
modern
storage
spaces,
providing
a
unified
view
of
volume
information
across
different
storage
technologies.