Closed msnelling closed 7 years ago
Similar issue here. Build this Docker image to experience for yourself.
Thanks @woodie for the repro. I can confirm that the module isn't working.
I've found this article Developing PowerShell Cmdlets for Nano Server:
Nano Server includes PowerShell Core by default in all Nano Server installations. PowerShell Core is a reduced-footprint edition of PowerShell that is built on .NET Core and runs on reduced-footprint editions of Windows, such as Nano Server and Windows IoT Core. PowerShell Core functions in the same way as other editions of PowerShell, such as Windows PowerShell running on Windows Server 2016. However, the reduced footprint of Nano Server means that not all PowerShell features from Windows Server 2016 are available in PowerShell Core on Nano Server.
I'll have a look if I can get 7Zip4PowerShell working on Nano Server.
The issue is that Nano Server doesn't support the full .NET Framework, but .NET Core. However, 7Zip4Powershell uses SevenZipSharp, a .NET wrapper for 7-Zip, which does not support .NET Core.
I looked for another library 7-Zip library supporting .NET Core, but the only one I've found (SharpCompress) allows only to read 7Zip, but not writing it.
Therefore I cannot support .NET Core (and Nano Server) at this point in time.
Hi, when I install this module from PSGallery I get the following error when using it.