Error executing the command 'Get-ScheduledTaskDetails'
Symptoms
When you scan a Windows machine you see the error
Error executing the command 'Get-ScheduledTaskDetails'. The parameter is incorrect.
Cause
This is an internal issue with Windows.
More Information
Running PowerShell as Administrator on the Windows machine and executing the command Get-ScheduledTask also displays the error.
Resolution
Reboot the affected computer.