I'm currently trying to get a list of the current tasks present in a computer via a remote desktop software. My current script is as follow:
echo "get a list of scheduled tasks" $ScheduledTask = Get-ScheduledTask Write-Output $ScheduledTask This returns a log that says:
get a list of scheduled tasks How can I also output the list of scheduled tasks?
https://stackoverflow.com/questions/66880694/properly-output-powershell-command-via-remote-server March 31, 2021 at 10:06AM
没有评论:
发表评论