Using powershell for the first time - REALLY simple question.
Posted on 2012-08-17
I'm trying to run a .ps1 file located at...
C:\Program Files (x86)\Puma\Puma.ps1
...inside a batch file. Can you tell me the batch command I need? I have tried encasing the patch in quotation marks, i.e.
powershel.exe "C:\Program Files (x86)\Puma\Puma.ps1" -nologo
but it says 'C:\Program' is not a script, cmdlet, etc.
Does powershell have a different way of doing the same job as quotation marks in batch?
I really can't find anything about this on the web, surprisingly.