Get-ConfiguredScratchLocation

Need to know which datastore your scratch partition is on?  Run this one-liner in PowerCLI to find out! $scratch = get-vmhostadvancedconfiguration -Name ScratchConfig.ConfiguredScratchLocation | % { $_.values } ; $scratch = $scratch.substring(14,35); get-datastore | where { $_.uid -like “*$scratch*” } | select name (have not tested when scratch partition is located in-memory)