xxlgreg Posted January 11, 2013 Report post Posted January 11, 2013 Hi All Could anybody help me to solve my issue? I need to create TS which 1. Deinstall old soft 2. Install new version The problem is that I need to be sure that there is at least 1 GB avalible disk space on C drive before 1 task starts. I know that I could use WMI query but Im not sure how exactely the WQL Query should look like. Thanks for any help provided Greg Quote Share this post Link to post Share on other sites More sharing options...
GarthMJ Posted January 11, 2013 Report post Posted January 11, 2013 try this. http://smsug.ca/blogs/garth_jones/archive/2013/01/11/wmi-query-for-c-with-more-than-1gb-of-hd-space.aspx Quote Share this post Link to post Share on other sites More sharing options...