twitter

Posting tweet...

Multi-case clauses

Sometimes you need to build a clause that has multiple cases to meet multiple requirements.  This is how you do it:

Case where multiple requirements need to be met:Â

1
Where-Object {$_.Name -like "something" <strong>-and</strong> $_.Volume -like "something"}

Case where any of the defined requirements can be met (as long as at least one is met):

1
Where-Object {$_.Name -like "something" <strong>-or</strong> $_.Volume -like "something"}
  • Twitter
  • Facebook
  • LinkedIn
  • Digg
  • Google Bookmarks
  • Slashdot
  • StumbleUpon
  • Live
  • FriendFeed
  • Ping.fm
  • Print
  • email
  • PDF
  • RSS

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">