-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Multiple modules missing after Powershell 6.0.1 installation on Linux #6248
Comments
Unfortunately, these modules are only available on Windows due to reliance on Windows-specific APIs. Could you explain how you're trying to use them? Generally speaking, we haven't seen much demand for local usage of those cmdlets on non-Windows platforms. Even if you want to run them on a Windows box from a Mac or Linux client, that's enabled via PSRemoting. |
My understanding is that OMI is the Linux-equivalent of CIM. I already installed Microsoft-OMI [
And, |
No one assigned to this yet! |
@Ayanmullick OMI is the Linux equivalent of WMI, but what you also need is the Linux equivalent implementations of CIM classes (so CIM_ComputerSystem would need to be implemented) and they would also need to implement Windows specific extensions to the CIM class (JoinDomainOrWorkgroup() method is specific to Windows and the Win32_ComputerSystem class and not part of the CIM standard). OMI and CIM class implementations are not part of PowerShell. Your request will need to be given to either RedHat to implement or to OpenPegasus which similar to OMI is an OSS implementation of a CIMOM (what WMI is). There are no plans to port the CIM cmdlets to non-Windows. |
Azure Sphere OS? |
@Ayanmullick for Azure Sphere OS, that team would need to do the work. I would suggesting adding a comment to their blog post |
Wish there was a way to reassign this issue. |
Steps to reproduce
Install Powershell on a RedHat 7.3 VM per documentation
https://docs.microsoft.com/en-us/powershell/scripting/setup/Installing-PowerShell-Core-on-macOS-and-Linux?view=powershell-6#installation-via-package-repository-preferred---red-hat-enterprise-linux-rhel-7
Expected behavior
This should list the below modules per this blog
https://blogs.msdn.microsoft.com/powershell/2018/01/10/powershell-core-6-0-generally-available-ga-and-supported/
Actual behavior
However the below modules are missing.
Environment data
Please document additional steps for the missing modules.
The text was updated successfully, but these errors were encountered: