On Windows Server Core deployments it’s sometimes extremely useful to understand, how much disk space is left on your drives, but when there is now explorer available, you need to use PowerShell. I use this command on my standalone Hyper-V server that I use for lab deployments.
When you are signed in to your server core, start PowerShell and run the following cmdlet for getting your disk usage displayed:
Get-CimInstance -ClassName Win32_LogicalDisk | Select DeviceID,VolumeName,@{'Name' = 'Size (GB)'; Expression= { [int]($_.Size / 1GB) }},@{'Name' = 'FreeSpace (GB)'; Expression= { [int]($_.FreeSpace / 1GB) }}
The output is already formatted to show the generally available and remaining space in GB.