patchm00 Posted May 30, 2013 Report post Posted May 30, 2013 Hello, Trying to use the new SCCM 2012 Task Sequence Variable SMSTSPostaction. Everywhere I look people are showing examples of using it with "shutdown /s" or something similar. That works for me too but I don't need that. I wanted to do a "cleanup" at the end of the TS, something along the line of "CMC /C rmdir /S /Q c:\sources" but it does not process. I've tried something as simple as mkdir c:\test as well to no avail (with CMD /C and without). Any help with this would be appreciated thanks Quote Share this post Link to post Share on other sites More sharing options...
Jorgen Nilsson Posted August 17, 2013 Report post Posted August 17, 2013 Hi, You should be able to delete a directory as well. http://blog.danovich.com.au/2013/06/07/sccm-2012-run-action-after-task-sequence-is-finished/ Regards,Jörgen Quote Share this post Link to post Share on other sites More sharing options...