Last active
November 29, 2015 22:26
-
-
Save PlagueHO/df990e4da91f81f0123b to your computer and use it in GitHub Desktop.
Get the BIOS GUID of a Hyper-V VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$VMName = 'My VM' | |
(Get-CimInstance -Namespace Root\Virtualization\V2 -ClassName Msvm_VirtualSystemSettingData -Filter "ElementName = '$VMName'").BiosGUID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment