PowerShell: Offline Install of PKI module (Microsoft Version)

551 Views Asked by At

I'm trying to get Microsoft's PKI module imported to powershell on some offline 2008 servers, yes, 2008 :(, (don't ask)

I copied the module, PKI, from the source machine's modules directory to the target machine. Confirmed that the target directory for PKI is in $env:PSModulePath Executed Import-Module on the target machine and:

import-module : The module to process 'Microsoft.CertificateServices.PKIClient.Cmdlets', listed in field 'NestsedModules' of module manifest 'C:\windows\sysstem32\Windows\Powershell\v1.0\Modules\pki\pki.psd1' was not processed because no valid module was found in any module directory.

Source Machine is 2016, PSVersion 5.1.14393.5127

Target Machine is 2008R2, PSVersion 5.1.14409.1005

Thanks in advance if anyone knows why this isn't working.

0

There are 0 best solutions below