![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Start scheduled task on remote Server with prompt I need a script that will give a popup asking would you like to perform this task? Yes or No If NO will exit script. If YES will start a scheduled task on a remote server (SCHTASKS /RUN /S SERVER002 /TN DAILY_AUTODAILY01) if it starts the task successfully it will give another message to the user task completed successfully or the task failed to run please contact HelpDesk. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Start scheduled task on remote Server with prompt "Danc383@xxxxxx" <Danc383hotmailcom@xxxxxx> wrote in message news:FCED0865-3468-4A5C-9DEE-2A851B9BAEBC@xxxxxx Quote: > I need a script that will give a popup asking would you like to perform Quote: > task? Yes or No > > If NO will exit script. > > If YES will start a scheduled task on a remote server (SCHTASKS /RUN /S > SERVER002 /TN DAILY_AUTODAILY01) if it starts the task successfully it Quote: > give another message to the user task completed successfully or the task > failed to run please contact HelpDesk. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Start scheduled task on remote Server with prompt Danc383@xxxxxx wrote: Quote: > I need a script that will give a popup asking would you like to perform Quote: > task? Yes or No > > If NO will exit script. > > If YES will start a scheduled task on a remote server (SCHTASKS /RUN /S > SERVER002 /TN DAILY_AUTODAILY01) if it starts the task successfully it Quote: > give another message to the user task completed successfully or the task > failed to run please contact HelpDesk. buttons constant for vbYesNo. An example is provided for returning the value of the button selected into a variable named MyVar of which you can then use... If MyVar = vbNo Then Wscript.Quit -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to end a Scheduled Task | Vista General | |||
| Re: How to schedule a vbscript as a Scheduled Task in Server 2003 | VB Script | |||
| Scheduled Task - States Task Ran - No Results | Software | |||
| How to start a schedule task from remote computer. | Vista General | |||
| Scheduled Task Start/End Duration and Intervals | Vista General | |||