Hello,
I need to serach and find the version of one of the application in serveral PCs, and then uninstall it and install the last version by using the package in OCS.
I bulid my package but I need to know how to run the powershell script from the command filed in execute mode
I used this one but it is notwork :
powershell.exe -executionpolicy bypass -noprofile -command "&{ .\my_script.ps1}"
anyone have an idea to solve this
note I test the script and it is work fine, but OCS can't run it
best regards,