Tag: Get-ADComputer
List Scheduled Tasks for Remote Servers
- Ben Liebowitz
- 0
- 6849
Recently, I was asked to find out of a certain service account was being used in scheduled tasks on any server. Being a PowerShell guy, I turned to the Get-ScheduledTask cmdlet. I tried querying a list of scheduled tasks by Author. I created a variable $VMs and used it to filter any Powered on Windows VM. I then checked each…
Share This: