I would like to know how to check both if IIS is installed and if a web server is running.