Windows PowerShell Tutorial 7 - Formatting Output

Windows PowerShell Tutorial 7 - Formatting Output

Regedit32

Moderator
Joined
Mar 4, 2016
Messages
3,609
Reaction score
1,140
Regedit32 submitted a new article:

Windows PowerShell Tutorial 7 - Formatting Output - How to change the default format of Cmdlets output to console or file

By default nearly all of cmdlets in PowerShell display data in a table format.

Example of Table Format

View attachment 6851
The cmdlet Get-Process by default displays data in a Table Format

As the default display is so common, and often sufficient for the User to get the information they are after in an easy to read format, many people are not aware that PowerShell actually has four Format cmdlets to choose from:
  • Format-Table
  • Format-List...

Read more about this article...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top