Batch to PowerShell

by Oct 8, 2014

Good Morning,

I have this bat file which is called from SCCM… I was hoping to start in changing some of these to powershell. I'm pretty green so if anyone could suggest a good resource that ties PS and SCCM that would be great.

To get me started how would this look as powershell?

Thanks All

cd %~dp0
cd ../Install/
start setup.exe /s /f1"%cd%/../Scripts/setup.iss" /f2"%cd%/../Notes/Install.log"