Skip to primary content
Skip to secondary content

MyWebb.net

Collection of stuff I find useful

MyWebb.net

Main menu

  • Home
  • About

Category Archives: Hyper-V

Get Hyper-V guest serial number

Posted on October 14, 2019 by Jim Webb
Reply

The following command will return the serial number of the VM specified.

Get-WmiObject -ComputerName Computer-Namespace root\virtualization\v2 -class Msvm_VirtualSystemSettingData | where {$_.elementname -eq "VMName"} | select elementname, BIOSSerialNumber
GetVMSerialNumber
Posted in Hyper-V | Leave a reply
  • ConfigMgr (1)
  • Group Policy (1)
  • Hyper-V (1)
  • PowerShell (3)
  • SSRS Reporting (2)
  • Windows (1)
  • Windows Server (2)
  • Twitter
  • GitHub
Website Powered by WordPress.com.
Is this your new site? Log in to activate admin features and dismiss this message
Log In
  • Subscribe Subscribed
    • MyWebb.net
    • Already have a WordPress.com account? Log in now.
    • MyWebb.net
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...