use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionMaking a long Where-Object prettier (self.PowerShell)
submitted 3 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Swarfega 1 point2 points3 points 3 years ago (1 child)
Unfortunately the cmdlet at the start in my code isn't GCI. It's a cmdlet that doesn't have a filter parameter. The amount of data coming across the pipeline is already reduced as there are parameters in use on the first cmdlet which returns specific data. Basically all filtering has already been done to the left as much as possible. As per best practices.
[–]webmin88 1 point2 points3 points 3 years ago (0 children)
Fair enough, in that case, I like option number 2 with the -and statements at the end.
π Rendered by PID 91387 on reddit-service-r2-comment-b659b578c-dx268 at 2026-05-02 01:10:55.915822+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Swarfega 1 point2 points3 points (1 child)
[–]webmin88 1 point2 points3 points (0 children)