Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Receiving Output in different format

$
0
0

Hi all,

I am new to Powercli.

I want retrieve all the VMs details whose Guest OS is Linux. SO I executed the following command and obtained the nearly correct output. But the output format is different. Can anyone help me?

 

get-vm | select-object name, Guest, powerstate | select-string 'linux' -simplematch

 

Output: (which I receive)

 

 

But I want the output in following format:

 


Viewing all articles
Browse latest Browse all 16717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>