Get SCVMM DHCP Server Agent version

import-module virtualmachinemanager
$VMMServer = $env:Computername
$Sb = { Get-WmiObject -Class win32_product | where {$_.Name -like “Microsoft System Center Virtual Machine Manager DHCP Server*” } | select Version }
Invoke-Command -ComputerName (get-scvmhost -VMMServer $VMMServer).Name -ScriptBlock $sb | select PScomputerName, Version | ft -AutoSize 

PSComputerName Version
————– ——-
XXX-01.xxx.yyy 3.2.8071.0
XXX-03.xxx.yyy 3.2.8071.0

Leave a Comment