So I’m making my first cmdlet and I’m using the chance to rewrite an old vbscript and improve it. I want to require either a username, or an employeeid parameter. I can’t find the syntax for making param do this for me. Will I have to hand code it? Or is there a way to get it to do an either-or mandatory parameters?
↧