Refactor IIS check and add new log line (#3795)
Refactor IIS check and add new log line (#3795)

* Refactor IIS check and add new log line


DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core