![]() ![]() ![]() noprofile -executionpolicy bypass -file "C:\Service Restart Scripts\StopService.PS1" In task scheduler if you are using it on server use this in arguments file with extension PS1 and then let this file be triggered from task scheduler. ![]() You can link this to task scheduler and trigger it at intervals or as needed.Ĭreate this as a PS1 file i.e. Starting Service using Powershell script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |