why is CimCmdlets module not supported on Linux?

sadique sayyed 1 Reputation point
2022-03-21T09:35:29.75+00:00

Hi, I've been trying to run a generic Powershell script on my Linux machine (Centos-7) where PowerShell core is installed. however, the script is throwing an error because it's not able to find the CimCmdlets module installed. Going through the documentation, I figured the module is not supported on the Linux platform. I basically want to use Get-CimInstance commandlet

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 44,776 Reputation points
    2022-03-21T14:09:40.423+00:00

    WMI and CIM don't exit on that OS.

    5-things-to-know-about-powershell-core-on-linux