Set debug logging to see exactly what fails:
Always include the namespace in your OMI query: win32-operatingsystem result not found via omi
omicli -h your-windows-host -u Administrator -p 'password' \ -n root/cimv2 \ query "SELECT * FROM Win32_OperatingSystem" Set debug logging to see exactly what fails:
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. Can’t copy the link right now
+--------------------------------------------------------------+ | "Win32_OperatingSystem results not found via OMI" | +------------------------------+-------------------------------+ | +-----------------------+-----------------------+ | | | v------v------v v------v------v v------v------v | Network | | Permissions | | WMI / MOF | | & Firewalls | | & Auth Type | | Corruption | +-------------+ +-------------+ +-------------+ 1. Network Constraints and Closed Ports