I am using this command in my action script
waithidden “C:\windows\system32\windowspowershell\v1.0\powershell.exe” -executionpolicy bypass -file “c:\msc\installscripts\add-fonts.ps1” -path “c:\msc\fonts”
when running manually in powershell- “c:\msc\installscripts\add-fonts.ps1” -path “c:\msc\fonts” - it works fine
Is the above command correct?