Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Volume GUID resolution
Get-WmiObject -class Win32_Volume -computername localhost | where-object {$ -like "\\?\*"} | select-object Label,DriveLetter,DeviceID,SystemVolume,name,Capacity,Freespace | format-list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.