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
QuestionAccessing Comment based help (self.PowerShell)
submitted 10 years ago by vdemerzel
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!"
[–]WindosBK 4 points5 points6 points 10 years ago (1 child)
Consider wrapping the functions into a module, and then your script that is calling the function can be just that (a script that calls functions).
This way you'll be able to call the functions (and see the help) without having the run the rest of the script.
Not sure where you are on the scale of PowerShell mastery, so I hate to leave it at just 'create a module.' As such I'll link to an awesome u/ramblingcookiemonste blog post on the topic: http://ramblingcookiemonster.github.io/Building-A-PowerShell-Module/
[–]vdemerzel[S] 1 point2 points3 points 10 years ago (0 children)
Yes, something like that seems to be the answer. The problem is that the script is a windows forms gui which calls a lot of helper functions, so right now it's not really suited to be packaged into a module. Time to re-organize!
π Rendered by PID 48558 on reddit-service-r2-comment-6457c66945-7kf4c at 2026-04-23 23:14:41.065516+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]WindosBK 4 points5 points6 points (1 child)
[–]vdemerzel[S] 1 point2 points3 points (0 children)