Hey,
Yeah, I see what’s happening. The issue is that Get-VMHostAdvancedSetting returns an object, so when you do Select-Object Value, you’re trying to extract a property from something that might not exist (which is why you're getting empty values).
Try modifying your script like this:
This should correctly extract the Value property instead of returning an empty object.