Monitor Disk Usage On Windows Nano Server 2016

Containing with my goal to have 100 articles about Windows Nano Server 2016 by 1/1/2017, Today I’ll show you how to monitor Disk usage on Windows Nano Server 2016 Host (physical or virtual) or VM.

Monitoring Nano Server 2016 Is not an easy task and It’s not possible from the Console or from remote PowerShell session.

The only way to monitor Nano Server Is using the Hyper-V PowerShell module and using the Get-Counter cmdlets from a Management Server.

So before you start please Install the Hyper-V Management Tools And PowerShell Module on your Windows 10 Workstation or Windows Server 2016.

Once done, Open ISE and use the cmdlet below to get free disk space available on all drives In percentage:

Note: Replace -computername with your Nano Server Server’s name.

Get-Counter '\LogicalDisk(*)\% Free Space' -ComputerName nanod03

To get the free amount of MB use:

Get-Counter '\LogicalDisk(*)\Free Megabytes' -ComputerName nanod03

To get % Disk Time and Queue Length use:

Get-Counter '\LogicalDisk(*)\% Disk Time' -ComputerName nanod03

Get-Counter '\LogicalDisk(*)\Avg. Disk Queue Length' -ComputerName nanod03

Get-Counter '\LogicalDisk(*)\Avg. Disk Write Queue Length' -ComputerName nanod03

Posted

in

by