Ron Shorts
asked on
Powershell pass parameter help
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 "testuser1@microsoft.com" -RemoteRoutingAddress testuser1@company.mail.onm icrosoft.c om
Then after this, have something that will validate the smtp address.
Can any help with this?
Thanks!
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 "testuser1@microsoft.com" -RemoteRoutingAddress testuser1@company.mail.onm
Then after this, have something that will validate the smtp address.
Can any help with this?
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Also, when provisioning a mailbox, I have a hybrid env. so I need to license after the remote mailbox is created, which takes up to 30 minutes sometimes by adding to a group... is there anyway to include this in one code, or how do you get around this in a hybrid environment, any suggestions?
Open in new window