VMware Cloud Community
ronaldnutter
Contributor
Contributor

How to get PowerCLI output to stop displaying ...

I have just started working with PowerCLI.  The screen output from several commands are ending in ... which tells me there is more info than is getting displayed.

Havent been able to find a way to get it to display the full line.

Most of what I have done so far has been with vMA where I can SSH to the appliance and then run my commands.  PowerCLI seems a little different.

Is there a way I can see the full lines without ... or wraparound ?

0 Kudos
1 Reply
LucD
Leadership
Leadership

Most PowerShell/PowerCLI cmdlets return objects.

The PS output engine tries to place the properties on screen, but sometimes there are more properties then can fit on 1 line.

An alternative is to pipe the objects to the Format-List cmdlet.

Then the properties will be displayed each on a new line

For example:

Get-VM | Format-List


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos