Service check windows powershell script

Thanks for your support.

Now I have type this lines in the icinga2.conf and not in the zones.conf

object Zone “windows-commands” {
global = true
}

And now I get the windows-commands Zone in the output by typing "icinga2 object list --type Zone. Do I have to configure anything to use zones.conf?