Дл
Write-Host "`n========== TASK TEMP: ACTIONS ==========" -ForegroundColor Cyan
Get-ScheduledTask -TaskName "Temp" -TaskPath "\" |
Select-Object -ExpandProperty Actions |
Format-List *
Write-Host "`n========== TASK TEMP: TRIGGERS ==========" -ForegroundColor Cyan
Get-ScheduledTask -TaskName "Temp" -TaskPath "\" |
Select-Object -ExpandProperty Triggers |
Format-List *
Write-Host "`n========== TASK TEMP: INFORMATION ==========" -ForegroundColor Cyan
Get-ScheduledTaskInfo -TaskName "Temp" -TaskPath "\" |
Format-List *
Write-Host "`n========== DIAGNOSTICS COMPLETE ==========" -ForegroundColor Green