I basically looking to list name and versions of following softwares in all virtual machines if installed:
1) OS name and version
Thanks in advance:
Disconnect-VIServer * -Force -Confirm:$false
ForEach ($VM in $VMs)
$VMName = $VM.Name
Write-Host "VM NAME : " $VMName
Try querying Win32_Product from them.
Thankyou for the reply but this will not return installed programs on virtual machines, rather it will return installed programs on host machine.
You must be logged in to reply to this topic.