If IIS has been uninstalled and inetpub is still there then it is probably full of [censored] that is never used anymore. So you'll also find servers with dir’s and files taking up precious space on the HDD.

Checking for the w3svc would do but you'll not find the orphaned inetpub's. Maybe you could combine the two?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.