Noeladams Posted September 19, 2007 Share Posted September 19, 2007 I hope someone can help with this because its probably so simple but i have racked my brain tonight lol.I want to create a gui that says: "Do you wish to restart WDS" and then if you say yes it goes on to a input box asking for what server name.After that is type go out and execute somethting like the following:\\testserver01\apps\pstools\psservice \\%ServerName% -u administrator -p password restart WDSserverI cannot figure out how to tie the input box information to the %servername% maybe i have been up too long or something lol.Also, if the service isn't running by some chance can it start it or would that happen with the restart?Thanks all!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now