concept OMI in category powershell

appears as: OMI, OMI
Windows PowerShell in Action, Third Edition

This is an excerpt from Manning's book Windows PowerShell in Action, Third Edition.

Install OMI on a Linux machine

OMI is an open source project—https://github.com/Microsoft/omi—to develop a portable and highly modular CIM Object Manager (CIMOM). It can be built and installed on most UNIX and Linux systems. It’s also used in network switches, including those from Arista and Cisco.

Before you install OMI, ensure you have OpenSSL—at least version 0.9.8 and preferably 1.0.x—on the Linux system. Download OMI from https://github.com/Microsoft/omi/releases and install. You should also download and install the appropriate package for your system from http://mng.bz/SPAg so that OMI can use the PowerShell Remoting Protocol over WS-MAN. With this package installed, you can create CIM sessions to the Linux system from a Windows machine.

You should check that OMI is running by using the following:

OMI doesn’t install any useful classes for configuring your Linux machine directly, but you can display some basic information as a test:

PS> Get-CimInstance -CimSession $sl -ClassName OMI_Identify `
-Namespace root/omi

InstanceID             : 2FDB5542-5896-45D5-9BE9-DC04430AAABE
SystemName             : Lin01
ProductName            : OMI
ProductVendor          : Microsoft
ProductVersionMajor    : 1
ProductVersionMinor    : 1
ProductVersionRevision : 0
ProductVersionString   : 1.1.0-0
Platform               : LINUX_X86_64_GNU
OperatingSystem        : LINUX
Architecture           : X86_64
Compiler               : GNU
ConfigPrefix           : GNU
ConfigLibDir           : /opt/omi/lib
ConfigBinDir           : /opt/omi/bin
ConfigIncludeDir       : /opt/omi/include
ConfigDataDir          : /opt/omi/share
ConfigLocalStateDir    : /var/opt/omi
ConfigSysConfDir       : /etc/opt/omi/conf
ConfigProviderDir      : /etc/opt/omi/conf
ConfigLogFile          : /var/opt/omi/log/omiserver.log
ConfigPIDFile          : /var/opt/omi/run/omiserver.pid
ConfigRegisterDir      : /etc/opt/omi/conf/omiregister
ConfigSchemaDir        : /opt/omi/share/omischema
ConfigNameSpaces       : {root-omi, interop, root-Microsoft-
   DesiredStateConfiguration, root-Microsoft-Windows-
   DesiredStateConfiguration}
PSComputerName         : Lin01

This is pretty much the same information you saw when you tested that OMI was running from the Linux machine.