Scenario:
We have a script which needs to be deployed to hosts across the domain footprint which needs to install a small application upon meeting certain criteria. This seems to be a relatively easy task and can be easily accomplished in several ways. (example) One would be inclined to write a vbscript, use wmi, and enumerate some type of computer/vendor/model attribute prior to the install. To perhaps save some time, here is what we did and below is the criteria we used to make the decision through automation. Continue reading “check host if laptop” »