📅  最后修改于: 2022-03-11 14:58:41.357000             🧑  作者: Mango
$Action = New-ScheduledTaskAction -Execute 'pwsh.exe' -Argument '-NonInteractive -NoLogo -NoProfile -File "C:\MyScript.ps1"'