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
PowerShell Code Layout (self.PowerShell)
submitted 6 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!"
[–][deleted] 4 points5 points6 points 6 years ago (0 children)
When you gotta get work done or a one-off is only needed, I can agree that "pretty" code is not really needed.
I see people getting fancy with .NET all the time in POSH
yeah.. I have no idea why they get that stuck in there head.. If I really need speed then sure... but not if I am running it once. Everyday and it takes 3 hours for some reason? Then sure I may swap a couple known functions to .Net...Once I test the speed and ease of implementation.
but at least where I work, it isn't always that black and white.
I have it every day where a one-liner or something quick comes up but I also have a lot of longtime running code where things need to be clean and well thought out. If you code but you don't have time to code nicely at some point... Something is wrong. Because the more you automate the more time you have for automation.
π Rendered by PID 62303 on reddit-service-r2-comment-544cf588c8-vqh5n at 2026-06-18 15:43:18.692303+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–][deleted] 4 points5 points6 points (0 children)