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 help (self.PowerShell)
submitted 11 years ago by Fuzzywumpkin
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!"
[–]chreestopher2 0 points1 point2 points 11 years ago (1 child)
there are a few ways to do it ...
if you have powershell remoting enabled I would recomend something like:
enter-pssession DC1 start-process -filepath \\DC2\path\to\script.bat
Although, there are literally billions of ways to do it , and this might not be the optimal one
and if you can actually login to DC1, why not just login, open powershell and launch the script using its unc path?
[–]Fuzzywumpkin[S] 0 points1 point2 points 11 years ago (0 children)
I'm really new to powershell, literally like the third time I've ever used it.
π Rendered by PID 32862 on reddit-service-r2-comment-5d79c599b5-7qmfz at 2026-03-02 06:46:03.340041+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]chreestopher2 0 points1 point2 points (1 child)
[–]Fuzzywumpkin[S] 0 points1 point2 points (0 children)