• Home
  • Consulting
  • Contact Us
    • About this site
    • Contact Wayne
    • Media Room
    • Wayne’s Bio

SBSFAQ.COM

Supporting IT Pro's & MSP's since 2000

  • Blog
  • FAQs
  • Reviews
  • Downloads

PowerShell Tip #2 – Formatting Output

June 15, 2011 by Wayne Small Leave a Comment

Whilst PowerShell is really cool, you can also get way too much information in response to commands.  I was onsite recently and working on an issue where I needed to compare the output of a few servers with specific parameters.  The best way to do that is to document the configuration settings for the few key parameters you want to compare and then check for the differences.  This is where the formatting options of PowerShell come in.

Looking at the output from the Get-Process command below there’s a stack of information. 

image

I wanted to only show three of the columns, so I used the FormatTable (FT) option and I specified the columns I wanted to see – in this case ProcessName, ID and CPU

image

Ok – that’s a simple tip – but easy to use.  Next time I’ll show you how to filter it down to just a few of the processes you want.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: Blog Tagged With: Powershell, Powershell Tips, Programming, Scripts

About The Author

Wayne has been working with Microsoft Server products in the SMB market for over 20 years. He has a passion for technology and been a Microsoft MVP for over 15 years. Read More…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Connect Online With Us

  • Facebook
  • Twitter

Reviews

Stellar Toolkit for Exchange Review

August 19, 2023 By Wayne Small Leave a Comment

Splashtop – Cost Effective Remote Control Software

September 22, 2017 By Wayne Small 2 Comments

Western Digital DL4100 NAS

March 3, 2015 By Wayne Small Leave a Comment

Site News

Exchange Bug Stops Mail Delivery in 2022

January 2, 2022

Huge bug found in Intel CPU that could permit hackers to steal your data

January 4, 2018

Recent Posts

  • Stellar Toolkit for Exchange Review
  • New Teams Preview – Missing ability to add tabs to a Team
  • New Teams Preview – Missing Create a Team
  • World Backup Day – What does it mean to Australians?
  • New Teams update finally allows easy cross organisation switching

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration Office 365 Patches Personal Rants SBS 4.5 SBS 2000 SBS 2000 SP1 SBS 2003 SBS 2003 Premium SBS 2003 R2 SBS 2003 R2 Premium SBS 2003 R2 Standard SBS 2003 SP1 Premium SBS 2003 SP1 Standard SBS 2003 Standard SBS 2008 SBS 2008 R2 SBS 2011 SBS 2011 Essentials SBS 2011 Standard Security Service Packs ShadowProtect Software Software I use StorageCraft Training TrendMicro Troubleshooting Virtualisation Windows Server 2012 Essentials

Terms of Use

Privacy Policy

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in