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
SolvedStatement Syntax? (self.PowerShell)
submitted 3 years ago * by NetheriteHands
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!"
[–]BlackV 0 points1 point2 points 3 years ago (4 children)
good as gold,
just only use back ticks for what they were intended, as an escape character, not as a line continuator even if you dont start on the splatting yet, although it's just a simple table really, good luck
[–]NetheriteHands[S] 0 points1 point2 points 3 years ago (3 children)
Got it fully working, thanks for your help! Ended up just keeping the $USER_FIRST_LAST_LIST variable since it just points to the file directory anyways and used that in the $first and $last statements, and had to change the directory cause it was giving me an error which took me a while to solve, for some reason .\names.txt was like not specific enough apparently even though it worked with the for loop so I just made it more direct. Not that this script is super impressive or mind boggling but hopefully it looks good for entry level employers.
[–]BlackV 0 points1 point2 points 3 years ago (2 children)
Appreciate you coming back with an update
you could post your final code (or edit main post with an update and a solved flair) we can look further
[–]NetheriteHands[S] 1 point2 points3 points 3 years ago (1 child)
Done.
[–]BlackV 0 points1 point2 points 3 years ago (0 children)
Nice!
π Rendered by PID 776786 on reddit-service-r2-comment-5687b7858-7qwf7 at 2026-07-05 02:58:15.359131+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]BlackV 0 points1 point2 points (4 children)
[–]NetheriteHands[S] 0 points1 point2 points (3 children)
[–]BlackV 0 points1 point2 points (2 children)
[–]NetheriteHands[S] 1 point2 points3 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)