I am struggling to create a task which will run interactivly at logon. This is the code I have:
$Action = New-ScheduledTaskAction -Execute \'C:\\Windows\\Sys