The correct form of the SELECT statement here is:
SELECT PercentFreeSpace FROM Win32_PerfFormattedData_PerfDisk_LogicalDisk WHERE Name='C:'
It can be discovered by noticing the Name property with this Powershell command:
Get-WmiObject -Query "SELECT * FROM Win32_PerfFormattedData_PerfDisk_LogicalDisk"