SCript will not install program on certain subnet
I have a script that will remove and update java. It works on all of our PC except for ones in a certain subnet.
This is the error we get. Like I said it works everywhere else.
Running as SYSTEM The argument 'java_uninstall.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter. Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\947\Powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -file "java_uninstall.ps1": (0) The operation completed successfully. Error Code: 0 Status Code: -196608
Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\947\Powershell.exe' '-nologo -executionpolicy bypass -WindowStyle hidden -noprofile -file "java_uninstall.ps1"' wait='true'
Be the first to answer this question