< Back

Get-LongDiskDrive

Sun Jan 19, 2020 5:59 pm

NAME Get-LongDiskDrive



SYNOPSIS

List local and mapped drives on the local machine along with their size,freespace and usedspace.





SYNTAX

Get-LongDiskDrive [<CommonParameters>]





DESCRIPTION

Includes size percentage as well.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Alphaleonis.Win32.Filesystem.DriveInfo







-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-LongDiskDrive



DriveLetter VolumeLabel FileSystem DriveType FreePercent UsedPercent Free Used Size

----------- ----------- ---------- --------- ----------- ----------- ---- ---- ----

A:\\ Unknown Removable 0.00% 0.00% 0 B 0 B 0 B

C:\\ NTFS Fixed 19.83% 80.17% 9.84 GB 39.81 GB 49.66 GB

D:\\ Source NTFS Fixed 32.67% 67.33% 6.53 GB 13.46 GB 20 GB

E:\\ Pagefile NTFS Fixed 98.75% 1.25% 9.87 GB 128.41 MB 10 GB

F:\\ Unknown CDRom 0.00% 0.00% 0 B 0 B 0 B



Lists disk drive stats such as disk space,free used percent etc.



RELATED LINKS