Quantcast
Viewing all articles
Browse latest Browse all 8820

Exchange 2010 Remote Administration via PowerShell

Okay, I know there are 101 ways to remotely manage Exchange both through the shell and the console, but here's my way...

I have a script that provisions new users by first creating an AD account, making several other AD changes, then enabling a mailbox for the user.  I want to be able to run this script from a workstation logged on with a regular non-administrative user account, meaning I want to prompt the user for domain admin creds using get-credential, then use that to run the rest of the functions in the script.  Now, this isn't an issue with the AD functions because I use the Quest tools and they have a connect-qadservice cmdlet that has a -credential parameter.  However, Exchange's connect-exchangeserver function does not have this parameter as an option.  Is there a workaround for this?  I know the enable-mailbox cmdlet has that parameter but the one I need in particular is set-casmailbox - this does not have the -credential parameter as an option.


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>