Just be careful if you are executing the code above remotely. Unless you copy and execute this script directly on the PC, there is a very high likelyhood that it won't complete. Once the release is compleated you will loose all network connectivity.
Use PSEXEC from Sysinternals to copy and remotely execute the script.
I hope you find this post helpful. Please let me know if it was.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.