We've built a custom command that sends our EULA to people via email if their department is a certain value, otherwise it sends it to the initiator. This is part of an account creation process using a csv file with attributes for the new user(s), (in this case, generating new accounts for an incoming class of students)
We want to change that to sending it directly if the person has a specific insitutional email address. In the csv file the column is the 'otherMailbox' AD attribute, and that's the attribute we use in the Powershell script to send the EULA.
What I want to do is change the condition in the command to if otherMailbox is null run the script that sends to the initiator, if not run the script that sends to the person.
But otherMailbox is NOT available when I edit the condition:
How can I set the condition to test whether otheMailbox is present or not?