question

TaoXuElevated-6496 avatar image
0 Votes"
TaoXuElevated-6496 asked DSPatrick commented

how may list all VM's windows version

like windows 2012, 2016, 2008

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

yet another one to try.
https://mikefrobbins.com/2017/12/07/retrieve-basic-operating-system-information-with-powershell/

--please don't forget to upvote and Accept as answer if the reply is helpful--



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thanks, seems working...

may i ask how can i import a list of servers from a txt file?

0 Votes 0 ·

Glad to hear, you're welcome.

for scripting help I'd suggest starting a new thread here
https://docs.microsoft.com/en-us/answers/topics/windows-server-powershell.html
https://docs.microsoft.com/en-us/answers/topics/windows-api-general.html

--please don't forget to upvote and Accept as answer if the reply is helpful--




0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

You can follow along here.
https://mikerodionov.com/2017/12/getting-hyper-v-guest-os-information-without-logging-in-to-guest-osvm/

--please don't forget to upvote and Accept as answer if the reply is helpful--



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TaoXuElevated-6496 avatar image
0 Votes"
TaoXuElevated-6496 answered

VMName : abc
VMHost : localhost
VMState :
VMOSName : Unknown
VMOSVersion : Unknown
VMHostname : Unknown

this is what i get :(

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.