Powershell Script to pass parameter, accept input.
I'm trying to build a script that I can pass a parameter to make a remote mailbox.
Using the below take "testuser1" to pass the parameter outside of this script.
Enable-RemoteMailbox "firstname.lastname@example.org" -RemoteRoutingAddress email@example.com
Then after this, have something that will validate the smtp address.
Can any help with this?