Hi Guys,
Here's a good one for you. I have a client who is trying to run the script Get-ScheduledTasks.ps1 with the option to export-csv. So he's running .\get-scheduledTask.ps1 | Export-CSV C:\schedtask\schedtask.csv The script runs just fine but doesn't output to the csv it just displays the output in the ISE console window. It does this if he's logged onto his laptop, the server itself, as him or as another local account.
Here's the weird thing I can run the script just fine on both my laptop, and the server, logged on as myself or as the same local user he tried to run the script on and it works just fine. There are no errors when he runs the script it just refuses to output to the CSV file for him, no matter who he's logged on as.
If anyone has come across this before and knows why.
TIA