PowerShell - System Administration
This script produces an error:
What is missing to fix the error?
$action = New-ScheduledTaskAction -Execute 'notepad.exe' Register-ScheduledTask -TaskName 'OpenNotepad' -Trigger $trigger -Action $action
What is missing to fix the error?
