Account Privilege set verification (Multiple conditions)
Im trying to write a script to check the account privilege set name. If it doesn't equal a predetermined calculation, I want the script to exit.
What I have:
if [get(accountprivilegesetname) ≠ "Inspector" or "Inspector CM"]
Currently, if the privilege set = "Inspector" it will continue the script, but "Inspector CM" or any other privilege set name exits. (I do not want the script to exit if it = either "Inspector" or "Inspector CM")
Why is it not recognizing the second condition? Am I writing this wrong?