movesose.blogg.se

Windows power shell command
Windows power shell command








How to Check Disk Space PowerShell on Windows 10/11

windows power shell command

PowerShell Get-CimInstance: This cmdlet can get total and free disk space on a local or remote computer.PowerShell Get-WmiObject: This cmdlet plus the win32_logicaldisk PowerShell script can display the total size, allocated, and free space of the logical drives.

windows power shell command

  • PowerShell Get-PSDrive: This cmdlet can return you with a list of all drives on your system, including provider, root, and total used/free disk space size in GB.
  • PowerShell Get-Volume: This cmdlet will show a list of all the volumes available on your system, including the file system type, health status of each volume, and total/free disk usage size in GB.
  • After investigating extensive references and posts, we find the following 4 commands can be used to check disk space in PowerShell. Can PowerShell get free disk space? Of course, yes! There are various cmdlets that can be used to let PowerShell get free disk space on Windows 10/11.










    Windows power shell command