středa 15. června 2016

PowerShell - error 0x80131515

V PowerShellu ... provádím IMPORT modulu.
Obdržím následující chybové hlášení:

Import-Module : Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\SshShell\Renci.SshNet.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Vyřeším to takto:



Najdu následující soubory:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.config

a upravím je takto ... důležité je přidat sekci RUNTIME

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
     <runtime>
          <loadFromRemoteSources enabled="true"/>
     </runtime>
</configuration>

Žádné komentáře:

Okomentovat