$ 0 0 Will the presence or absence of the Cloud UUID not tell you that? Get-VM-Name MyVM |Get-AdvancedSetting-Name cloud.uuid