• 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 #3 – Filtering Output

June 27, 2011 by Wayne Small 6 Comments

When you issue PowerShell commands you can get quite a bit of information back from it.  Last weeks tip showed how to format the output and to do a very basic filter to show specific columns only. 

Today we’ll be a little more specific.  Lets say that I wanted to list all the processes on a computer where the Process Name begins with svc* – this is how I would do it.  Sounds simple right?  Well it is – it’s almost plain English.

get-process | where-object { $_.ProcessName –match “^svc*”}

image

There’s a bit more you can do with the where-object command as well which we will cover off in our next tip.

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…

Comments

  1. culturaldc.org says

    February 9, 2014 at 9:42 pm

    True, there are comedians that cuss a lot, but you got to earn that right before you do that.
    No matter what your field, it helps to know what you’re good at,
    but it also helps to recognize what others are good at.

    Brad Garret is a stand-up comedian but also well known for his acting career.

    Reply
  2. cheap virgin indian remy hair says

    February 19, 2014 at 1:42 am

    Those alleles may be the same – homozygous – or they may be
    different – heterozygous. There is a huge of number of
    people suffering from hair problems. It is well-recognized in the head of hair
    extension area that some businesses attempt to pass
    of brushed Indian head of hair as Temple hair as it is found in big portions and is cheap to purchase.

    Reply
  3. about Microsoft PowerPoint says

    February 24, 2014 at 7:02 pm

    Below are the differences when uploading Power – Point presentation between Slideshare and You – Tube.
    Doing so can considerably aid in improving the overall quality of the presentation
    and provides you with the best chance that the whole thing would be a success.
    Simply chose the purchase this software link, and you will
    be prompted to enter your credit card information to complete the purchase.

    Reply
  4. genf20 plus Spray says

    April 7, 2014 at 5:18 pm

    In the big event that my other buddies want to buy so that it is able to stop warning signs of growing older, I’ll introduce the crooks to
    Gen – F20 Plus the same as what my colleague did personally.
    Some individuals should go as much as claim these are same product with assorted brand names.

    The great thing, there is a tried and tested way for you to assist counteract the the signs of
    aging in a very no sweat fashion.

    Reply
  5. Nagge.Se says

    August 14, 2014 at 12:47 am

    It could be a good along with beneficial bit of information and facts. Now i am grateful that you shared this useful info along with us. Remember to stop us up-to-date in this way Nagge.Se. We appreciate you revealing.

    Reply
  6. extension des cheveux says

    November 27, 2014 at 8:16 pm

    Good Article!

    Reply

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

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

SBS 2011 Configuring Certification Guide (70-169)

August 7, 2012 By Wayne Small 4 Comments

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

  • MS Exchange Zero Day and RemotePowerShell Disabling on Admin accounts
  • Setup changes for Exchange 2016 and Exchange 2019
  • Bluetooth Mouse and Keyboard Randomly Stop Responding
  • Exchange Bug Stops Mail Delivery in 2022
  • How to open and search extremely large text log files

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration 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 SMB Community 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