The error 'Invalid Global Switch' appears, when running this WMI command:
The “invalid global switch” error occurs when host, user or domain name contains special characters like '-' or '/'.
Run below query in Command Prompt window on the Diagnostic Server machine to see if WMI connects to the monitored host and returns any data by adding quotations:
wmic /node: ‘MonHostFQDN’ /user: ‘DOMAIN\USER’ path Win32_OperatingSystem
where
MonHostFQDN - monitored machine fully qualified domain name, machine name or IP-address
DOMAIN\USER - valid credentials (the same used for Spotlight OS-connection).