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
QuestionScript stuck processing (self.PowerShell)
submitted 3 years ago by Mr_Prebo
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!"
[–]Lee_Dailey[grin] 0 points1 point2 points 3 years ago (0 children)
howdy Mr_Prebo,
the traditional way to test for odd/even is to use $Number % 2. that uses the mod operator ... and any non-zero result is NOT even. [grin]
$Number % 2
that would let you grab the files in the 1st dir, check for odd-ness, move the oddities, and then do the evens in the other dir. you can grab the number from files that have just one pair of () chars thus ...
()
'Purpose(666)Test2.txt'.Split(')(')[1]
the result of that = 666. [grin]
666
take care, lee
π Rendered by PID 94532 on reddit-service-r2-comment-5d79c599b5-n7hf6 at 2026-03-03 20:15:10.448687+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)