If the target is not Windows, do not query Win32_OperatingSystem . Use Linux-specific classes like OMI_OperatingSystem or CIM_OperatingSystem .
from pyomi import OMI client = OMI(hostname="windows-host", namespace="root/cimv2") result = client.get_instance("Win32_OperatingSystem") win32operatingsystem result not found via omi new
[omiserver] dcom_enabled = false # Prefer WinRM over DCOM https_port = 5986 auth_basic = true If the target is not Windows, do not
The error message "Win32_OperatingSystem Result not found via OMI" typically occurs during If the target is not Windows