Failing to Run Powershell (Resolved)

Hi Jason,
no, I have not. to be honest. I have never run a powershell script thru bigfix.

I was looking at some posts and I tried to do some of that. but it failed. In one case I tried to have the code in the task and then move it to a ps1. but it was failing.

so, when you mean create a parameter named PowerShellExe is hat exactly. sorry my lingo isnt the greatest yet. I’m learning tho.

Thank you for the pointer. I did not know that.

It did work. Thank you. Thank you, thank you. I have been at this all day. I did add something else that came in handy based on your comment.

and ended up with:

action uses wow64 redirection {not x64 of operating system}
wait powershell.exe -executionpolicy bypass -File "{pathname of download file "Remove_old_java_versions.ps1"}"

I also would like to learn how to do the scripts on the fly. so, I also tried: https://bigfix.me/fixlet/details/3860
but the script error out here

once again Jason, you saved my bacon! Thanks a bunch!

1 Like