w10install/scripts/cleanup-taskscheduler.ps1
Michael H.G. Schmidt 12d13e8c60 .
2022-12-27 19:54:32 +01:00

7 lines
181 B
PowerShell

$scheduleObject = New-Object -ComObject Schedule.Service
$scheduleObject.connect()
$rootFolder = $scheduleObject.GetFolder("\")
$rootFolder.DeleteFolder("\Microsoft",$null)