Reputation: 233
I want to have my batch file run a remote powerhell script.
I have Powershell \ip\Myscript.ps1
But it asks me for do i want to run this remote script. I want to bypass this. with a -confirm:$false
How can i use that in a batch.
Upvotes: 0
Views: 695
Reputation: 24071
You got a few options here.
Upvotes: 2