Hello guys, i have a problem because I can't deploy new package with PS script. I'm using:
powershell.exe -executionpolicy bypass -command {"commands go here"} (Setting action command)
or
powershell.exe -executionpolicy bypass -file "{PackageShare}\Scripts\script.ps1" (Setting action script)
and I'm getting result:
Deployment ended: Incorrect function. Stop(Failure).and
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (******). ShareCredential: (******). Command: "PowerShell.exe -ExecutionPolicy Bypass \\******\PackageShare$\Installers\Scripts\Script.ps1"