Originally Posted By: Les
 Originally Posted By: sparkie
Is there a list of all the permitations of 'equal/not equal to' because I want it to email if the key does not equal 'Outlook'?
Huh? The function tests whether or not it "Exists". If it exists, it is "equal to", if it doesn't it is "not equal to". There is no in between. It is a true/false.


Sorted now, used this

If NOT $ReturnCode

If the key does not equal to the $ReturnCode I get the email, if it does we get nothing. Just as we wanted.

Thanks everyone for their help and have a Happy Christmas