Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include PowerShell #15

Open
alesliehughes opened this issue Aug 13, 2013 · 10 comments
Open

Include PowerShell #15

alesliehughes opened this issue Aug 13, 2013 · 10 comments

Comments

@alesliehughes
Copy link

A free PowerShell for mono has been created and basic functionality.
https://github.com/Pash-Project/Pash

@alesliehughes
Copy link
Author

Basic Registry.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1]
"Install"=dword:00000001
"PID"="89383-100-0001260-04309"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\0409]
"Install"=dword:00000001

@alesliehughes
Copy link
Author

The following directory is where the assemblies would be installed.
C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0

Environment MONO_PATCH would need to be set to the above path.

@madewokherd
Copy link
Owner

Is binary compatibility a goal of this project?

Is there downloadable software using powershell that I can use to test it? CoApp's PowerShell tools maybe? http://coapp.org/pages/releases.html

@ghost
Copy link

ghost commented Feb 3, 2015

Chocolatey package manager for Windows heavily depends on powershell, which is a good source to test Pash, but Pash is not compatible enough to support chocolatey yet at this time.

@alesliehughes
Copy link
Author

@Ruedii
Copy link

Ruedii commented Sep 11, 2018

Is the windows implementation of powershell based on .Net or C/C++? It always thought it was a C/C++ program.

@theuserbl
Copy link

theuserbl commented May 12, 2024

What is still micssing is a complete reimplementation of the Windows PowerShell 5.x.
wine-mono is not a replacement for .NET Core / .NET 5+, it is a replacement for .NET 4.x.

And so, the OpenSource PowerShell could be used as basis for a reimplementation of the Windows PowerShell 5.x.
And there are PowerShell modules, which are part of Windows and not of the PowerShell.

For example, write on Windows in PowerShell 7.x (the OpernSource ones)
Get-Module -ListAvailable

Then you see, that there are some Modules in
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
and other places, which have nothing to do with the PowerShell 7.x.

And if you running PowerShell 7.x on WINE, commands like Get-Volume, Get-Partition, etc. don't work, because they are part of the Windows-modules.

Edit:
I think the PowerShell Modules in Windows are much more important to reimplement, then the Windows PowerShell 5.x itself. But without that, you have Modules, which you can only use, after installing the PowerShell after it.

@theuserbl
Copy link

@Ruedii
Copy link

Ruedii commented May 13, 2024 via email

@madewokherd
Copy link
Owner

.NET Core and 5+ are out of scope for Wine Mono.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants