hi LucD,
thanks for your prompt reply, I want to include Operating system caption, sp and architecture
I've tried following
$VMInfo.OS = (Get-WmiObject -computername $vm -class Win32_OperatingSystem).Caption but it's not working.
I don't know how to use this, if you can help I would be very thank ful to you.
Thanks,
Samir