I have downloaded these three modules and placed them in the "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\SSH-Sessions" directory.
https://sshnet.codeplex.com/downloads/get/944154
http://sshnet.codeplex.com/downloads/get/944155
"http://www.powershelladmin.com/w/images/a/a5/SSH-SessionsPSv3.zip" From the http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library site.
I then run the below in powershell 4.0 (I do have .NET 4.0 installed).
PS C:\WINDOWS\system32> Import-Module SSH-Sessions
Import-Module : Could not load file or assembly
'file:///C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\SSH-Sessions\Renci.SshNet.dll' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module SSH-Sessions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
The Renci.SshNet.dll file does exist and i have attempted to manually register it, but that does not work. I am also the administrator of my system. What other dependencies am I missing to get this module imported?
https://sshnet.codeplex.com/downloads/get/944154
http://sshnet.codeplex.com/downloads/get/944155
"http://www.powershelladmin.com/w/images/a/a5/SSH-SessionsPSv3.zip" From the http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library site.
I then run the below in powershell 4.0 (I do have .NET 4.0 installed).
PS C:\WINDOWS\system32> Import-Module SSH-Sessions
Import-Module : Could not load file or assembly
'file:///C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\SSH-Sessions\Renci.SshNet.dll' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module SSH-Sessions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
The Renci.SshNet.dll file does exist and i have attempted to manually register it, but that does not work. I am also the administrator of my system. What other dependencies am I missing to get this module imported?