The message “Can’t write configuration of IOS agent as current operating system is not MacOS!” is shown because your current machine where the configuration command is executed is NOT a Mac. This is because we are using internal MacOS tools during the command to modify the *.plist file. If those tools are not available (on non MacOS machines), we can’t write the configuration into the *.plist file.