#
Get-ScheduledTask
#
List all tasks that are enabled and also hide any tasks with title that includes Microsoft
Get-ScheduledTask | Where-Object { $_.Settings.Enabled -and $_.TaskPath -notlike '\Microsoft\*' -and $_.TaskName -notmatch 'Microsoft' } | Select TaskPath,TaskName,State | ft -a
#
Stealing tickets with scheduled tasks
While not directly related to Get-ScheduledTask, I wanted to mention that the brilliant CCob gave me an idea (source: BloodHoundGang) for stealing tickets with a scheduled task sent to run klist.