How to automate a Logout or Restart task in Windows 10 using a script
Channel:
Subscribers:
1,540,000
Published on ● Video Link: https://www.youtube.com/watch?v=1r19QId_1YU
In this video, I am presenting how to automate a Logout or Restart task via a script, schedule a task using task scheduler in Windows 10. This is very handy for Power Automate users who wants to run their scheduled cloud flows in Power Automate web portal to be able to run their desktop workflow using unattended mode.
Batch Script Code:
:: Log out
Shutdown/l
:: Restart
Shutdown/R
Subscribe to my YouTube Channel as shown in link below to see more videos:-
https://www.youtube.com/c/MohanadPC?sub_confirmation=1
#MohanadPC #Script #Windows_10 #Power_Automate #Task_Scheduler #Automation
Other Videos By MohanadPC
Tags:
MohanadPC
Power Automate
Script
Bat File
IT
Tutorials
Windows 10
Task Scheduler
Automation
Logout
Restart
Mohanad