question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PowerShell Core support

See original GitHub issue

I tried loading the module in the latest PS Core alpha16, but it fails to load the module. Is PS Core support on the roadmap?

PS C:\Users\Matty> Import-Module Posh-SSH
Import-Module : Could not load file or assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
4e089'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
At line:1 char:1
+ Import-Module Posh-SSH
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:29 (14 by maintainers)

github_iconTop GitHub Comments

6reactions
darkoperatorcommented, Apr 26, 2020

Most of the work is done, waiting on SSH.net library to release the next version.

1reaction
Claustncommented, Sep 12, 2017

Do you have any idea, how much work would go into recompiling it for .net core ? I have a lot of code using this on Windows, but need to run some of those scripts in Linux containers as well, and would prefer not to have to split up and maintain those scripts separately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerShell Support Lifecycle
PowerShell is supported under the Microsoft Modern Lifecycle Policy, but support dates are linked to .NET and .NET Core Support Policy. In this ......
Read more >
PowerShell - Microsoft Lifecycle
PowerShell follows the Modern Lifecycle Policy. Support dates are shown in the Pacific Time Zone (PT) - Redmond, WA, USA.
Read more >
PowerShell Core 6.0: Generally Available (GA) and ...
PowerShell Core is cross-platform, available on Windows, macOS, and Linux, thanks to the cross-platform nature of .NET Core. PowerShell Core is ...
Read more >
PowerShell community support resources
This section contains the help topics for the cmdlets that are installed with PowerShell Microsoft.PowerShell.Core module.
Read more >
Installing PowerShell on Windows
There are multiple ways to install PowerShell in Windows. Each install method is designed to support different scenarios and workflows. Choose ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found