7 lines
181 B
PowerShell
7 lines
181 B
PowerShell
|
|
$scheduleObject = New-Object -ComObject Schedule.Service
|
|
$scheduleObject.connect()
|
|
$rootFolder = $scheduleObject.GetFolder("\")
|
|
$rootFolder.DeleteFolder("\Microsoft",$null)
|
|
|