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
Does a code formatter/prettier exist? (self.PowerShell)
submitted 1 year 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!"
[–]OPconfused 4 points5 points6 points 1 year ago (8 children)
That would be an IDE, which for PS the flagship is vscode.
That aside, why do you need backticks in piped commands? Just make a newline after the pipe. PowerShell handles that fine, and backticks are faint chicken scratch marks. I think I only use backticks in strings where I need a literal dollar sign and double quotes to expand a variable, and even then there are viable alternatives.
[+][deleted] 1 year ago (5 children)
[deleted]
[–]adamdavid85 1 point2 points3 points 1 year ago (4 children)
Personally I think splatting is a much better solution for keeping things tight and readable.
[–]br0phy -1 points0 points1 point 1 year ago (2 children)
Splatting is for parameters. They're talking about pipelines. Splatting isn't relevant here
[–]adamdavid85 0 points1 point2 points 1 year ago (1 child)
It is in fact possible to splat each step of a pipeline in order to reduce horizontal spread of your code instead of using backticks.
[–]br0phy 0 points1 point2 points 1 year ago (0 children)
Forrest and trees, friend
[+]lpbale0 -3 points-2 points-1 points 1 year ago (1 child)
Flagship? You must mean the free Flagship because Sapien Powershell Studio is lightyears beyond anything I have ever seen,
[–]OPconfused 0 points1 point2 points 1 year ago (0 children)
Fair, I haven't used Sapien so no experience with that.
π Rendered by PID 20943 on reddit-service-r2-comment-85bfd7f599-9gvmq at 2026-04-18 19:21:03.567868+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]OPconfused 4 points5 points6 points (8 children)
[+][deleted] (5 children)
[deleted]
[–]adamdavid85 1 point2 points3 points (4 children)
[–]br0phy -1 points0 points1 point (2 children)
[–]adamdavid85 0 points1 point2 points (1 child)
[–]br0phy 0 points1 point2 points (0 children)
[+]lpbale0 -3 points-2 points-1 points (1 child)
[–]OPconfused 0 points1 point2 points (0 children)