All Questions
Tagged with powershell-3.0 scheduled-tasks
2
questions
1
vote
2
answers
1k
views
Get-CimInstance not working when run from Scheduled Task
I have a Powershell script that exports a list of all the services on my local computer using the following command:
Get-CimInstance win32_service | Export-Csv $PSScriptRoot\Local\services.csv
It ...
1
vote
2
answers
1k
views
Running a powershell script at startup
I am writing a script to remove a computer from the domain, rename it, then add it back. It works fine when I set the trigger to AtLogOn but when I switch to AtStartUp I run into some issues.
I get ...