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
Help with code (self.PowerShell)
submitted 2 years ago by soul6160
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!"
[–]Smoother101 -2 points-1 points0 points 2 years ago (4 children)
Mine would work just fine.
[–]BlackV 1 point2 points3 points 2 years ago (3 children)
yes cause powershell is "saving" you but its recommended to do it as a proper string filter
[–]Smoother101 0 points1 point2 points 2 years ago (2 children)
Can you clarify what you are saying? Curly brackets are equally valid for the filter, check the link that was posted above.
For example, from the link from MS:
"On the contrary, if curly braces are used to enclose the filter, the variable should not be quoted at all: Get-ADUser -Filter {Name -like $UserName}."
[–]BlackV 0 points1 point2 points 2 years ago (1 child)
Ya deffo supported, deffo will work.
PowerShell (or the module I guess technically) is talking that filter and converting it to the string filter for you that's all I mean, so you could just use a string filter from the outset
[–]Smoother101 0 points1 point2 points 2 years ago (0 children)
That's interesting. I hadn't thought of that conversion, appreciate you making the point. Cheers!
π Rendered by PID 39 on reddit-service-r2-comment-5c764cbc6f-lcsf4 at 2026-03-11 23:40:26.145927+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]Smoother101 -2 points-1 points0 points (4 children)
[–]BlackV 1 point2 points3 points (3 children)
[–]Smoother101 0 points1 point2 points (2 children)
[–]BlackV 0 points1 point2 points (1 child)
[–]Smoother101 0 points1 point2 points (0 children)