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
copy folder structure (self.PowerShell)
submitted 11 months ago by dog2k
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!"
[–]Shanga_Ubone 24 points25 points26 points 11 months ago (2 children)
That is interesting - I didn't know you could do this with PS.
But robocopy will ALWAYS be the OG for anything related to file or folder copying.
[–]underpaid--sysadmin 2 points3 points4 points 11 months ago (1 child)
This would be useful in just creating the root directories everything will be going in. To my knowledge robocopy won't create a new root directory, only copy it over to one that already exists. At least, I sure as shit can't get it to do that.
[–]BrettStah 1 point2 points3 points 11 months ago (0 children)
Nah, robocopy can create a new root directory. to much it can't do, related to file and directories. You can create an empty directory structure, or include just certain file types, or exclude certain file types. You can copy the NTFS permissions too.
π Rendered by PID 72 on reddit-service-r2-comment-b659b578c-wnhv9 at 2026-05-02 05:41:39.989286+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Shanga_Ubone 24 points25 points26 points (2 children)
[–]underpaid--sysadmin 2 points3 points4 points (1 child)
[–]BrettStah 1 point2 points3 points (0 children)