Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ShadowStorage")
For Each objItem in colItems
Wscript.Echo "Volume: " & objItem.Volume
Wscript.Echo "Allocated space: " & objItem.AllocatedSpace
Wscript.Echo "Differential volume: " & objItem.DiffVolume
Wscript.Echo "Maximum space: " & objItem.MaxSpace
Wscript.Echo "Used space: " & objItem.UsedSpace
Wscript.Echo
Next