PKISolutions / PSPKI

PowerShell PKI Module
Microsoft Public License
369 stars 58 forks source link

Module doesn't self load on Windows 10 #140

Closed dennisl68-castra closed 3 years ago

dennisl68-castra commented 3 years ago

After installing the module in scope Current User in PowerShell 5.1 on a Windows 10 computer, the commands isn't recognized until loading the module...

I don't have RSAT installed and only intend to use client-side functionality...

C:\> test-webserverssl www.google.com
test-webserverssl : The term 'test-webserverssl' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ test-webserverssl www.google.com
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (test-webserverssl:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

C:\> get-command -Module pspki
WARNING: Active Directory Certificate Services remote administration tools (RSAT) are not installed and only
client-side functionality will be available.

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           Add-AIA                                            3.7.2      pspki
Alias           Add-CAAccessControlEntry                           3.7.2      pspki
Crypt32 commented 3 years ago

Duplicate: https://github.com/PKISolutions/PSPKI/issues/115