-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import-Module PSPKI always needed #115
Comments
It is expected behavior since Windows PowerShell 5+. PowerShell no longer autoloads the module by simply calling a command from installed and non-loaded module. Use |
Interesting. |
How did you install the module? What is your |
I installed it with "Install-Module -Name PSPKI" $PSVersionTable: Name Value PSVersion 5.1.17763.592 $PSModuleAutoloadingPreference is empty but according to Microsoft this means "all" |
I've got the same issue (as listed by duplicate). Impot-Module is normally not a requirement as long as the module is stored in a folder listed by $env:PSModulePath |
Is PSPKI module installed in a path referenced in $env:PSModulePath? Where exactly PSPKI is installed? |
It's installed using
|
Unable to repro. Additional details needed. As a general recommendation, call |
When I try to use PSPKI after installing or opening a ne PowerShell instance, I need to load it with Import-Module.
I am using Windows Server 2019.
It also wont show up in Get-Modules until I import it again.
The text was updated successfully, but these errors were encountered: