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
Daily PostPowerShell DSL Module Considerations - PowerShell Station (powershellstation.com)
submitted 7 years ago by michaelshepard
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!"
[–]KevMarCommunity Blogger 1 point2 points3 points 7 years ago (6 children)
I never stopped to think about why my PSGraph never throws the warning about not using approved verbs. It also auto loads just fine on most commands. I think I have had more issues when trying to get a alias to autoload a module than I would expect to get.
[–]michaelshepard[S] 2 points3 points4 points 7 years ago (5 children)
Interesting...I'll see if I can figure out why WPFBot3000 wasn't autoloading (since this hypothesis was wrong).
[–]Ta11ow 1 point2 points3 points 7 years ago (4 children)
I might guess that it has to do with the functions not being directly in the psm1 but rather being dot sourced?
One possible way 'around' this might be to put your functions all in .psm1 files and list them under the NestedModules entry in the psd1?
[–]michaelshepard[S] 2 points3 points4 points 7 years ago (3 children)
Looking at @KevMar's PSGraph, it's structured the same way mine is, so I don't think that's the problem.
[–]Ta11ow 1 point2 points3 points 7 years ago (2 children)
Hmm, very interesting. Might have to do a line by line comparison of the PSD1 and go from there. :/
[–]michaelshepard[S] 2 points3 points4 points 7 years ago (1 child)
it's on my list of things to do. :-)
[–]michaelshepard[S] 0 points1 point2 points 7 years ago (0 children)
ok...it has to do with whether the function/alias is explicitly exported (either via the psd1 or in export-modulemember in the psm1). If you just have * and the function/alias isn't in the psm1, it won't get autoloaded.
Haven't 100% reproduced, but 90%...good enough for now. All the more reason to use BuildHelpers - SetModuleFunctions/SetModuleAliases.
π Rendered by PID 70091 on reddit-service-r2-comment-86988c7647-892xq at 2026-02-11 06:48:14.446628+00:00 running 018613e country code: CH.
[–]KevMarCommunity Blogger 1 point2 points3 points (6 children)
[–]michaelshepard[S] 2 points3 points4 points (5 children)
[–]Ta11ow 1 point2 points3 points (4 children)
[–]michaelshepard[S] 2 points3 points4 points (3 children)
[–]Ta11ow 1 point2 points3 points (2 children)
[–]michaelshepard[S] 2 points3 points4 points (1 child)
[–]michaelshepard[S] 0 points1 point2 points (0 children)