Trigger Scheduled Tasks Remotely

Sometimes you have the same scheduled task configured for manual execution available across different servers. Instead of triggering the start manually on each server by logging on remotely, you can trigger the scheduled task on each server by using Remote PowerShell.

The following example triggers the configured scheduled task My-Manual-Task on server MYSERVER01 to MYSERVER06.

$cimSession = New-CimSession -ComputerName MYSERVER01,MYSERVER02,MYSERVER03,MYSERVER04,MYSERVER05,MYSERVER06Start-ScheduledTask My-Manual-Task -CimSession $cimSessionRemove-CimSession $cimSession

Enjoy Remote PowerShell


You are unsure what Office 365 has to offer for your business? We are here to help you get the best out of Office 365. Contact us at or visit our website.  

%d Bloggern gefällt das: