While working on a PowerShell script to add users in Azure AD recently, I walked into a situation you will sometimes have as a PowerShell scripter. You need to call some command, but given the input the parameters to supply differs. You could write a couple of “if this-input then