hi
i am using zenworks to deploy software…
but it cuases an error…
zenworks execute this powershell script on the users computer…
<code>$pw= convertto-securestring "password" -asplaintext –force $pp = new-object -typename System.Management.Automation.PSCredential -argumentlist ".\Administrator",$pw Start-Process powershell -Credential $pp -ArgumentList '-ExecutionPolicy Bypass -file \\share\Office2013\install.ps1 -verb runas -wait'</code>
install.ps1:
Start-Process "$PSHome\PowerShell.exe" -Verb RunAs -ArgumentList ' -ExecutionPolicy Bypass -file \share\MSOffice2013\Deploy-Application.ps1' -Wait
logfile generates the following error code:
<![LOG[[Pre-Installation] :: Standard error output from the process: \share\Office2013\Files\OffScrub13.vbs(3023, 9) SWbemObjectEx: Access Denied.
tried to execute the Deploy-Application.exe and ps1 file direct from zen but also generates the same error.