-mailbox parameter is not available in New-InboxRule Exchange 2013 Powershell

I am wanting to work with New-InboxRule on my exchange 2013 on-premise server.  I'm running CU7 and I'm bringing up the exchange management shell as administrator.  However, when I run the New-Inbox rule, the
-mailbox parameter is not available. Am I missing something?

David BirdPartnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy LidbetterCommented:
I'm on the same version, just checked... mine has the -mailbox param...

help new-inboxrule -full

Open in new window

And see whether its in there....
David BirdPartnerAuthor Commented:
Yes, it is listed as a parameter, but it fails when you run the cmd as parameter cannot be found and it will not list from -m (tab) when filling out the cmd line.

Does the same thing on Get-InboxRule.  I thought maybe I was missing some module but on my other exchange boxes, it's there by default.  
On the machine in question, I updated to CU7 as it was a few revs behind but that did not help either.
Guy LidbetterCommented:
Re-install management tools???
Check Out How Miercom Evaluates Wi-Fi Security!

It's not just about Wi-Fi connectivity anymore. A wireless security breach can cost your business large amounts of time, trouble, and expense. Plus, hear first-hand from Miercom on how WatchGuard's Wi-Fi security stacks up against the competition plus a LIVE demo!

Will SzymkowskiSenior Solution ArchitectCommented:
There are 2 reason why you cannot see cmdlets in a shell session. Do not have required permissons or the module or snapin is not imported/added.

The below link describes what permissions you require for Inbox Rules
Org Management
Recipient Mangement

Also see...

After granting the appropirate permissions close the shell and re-open. Also make sure that the microsoft.exchange.management.powershell.admin snapin is listed (get-spsnapin)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David BirdPartnerAuthor Commented:
Excellent suggestion.  
However, I am unable to "un-install" the EMS from the CU7 setup.exe.  It shows all options installed but are all ghosted out such that I can neither select nor de-select them. Setup doesn't appear damaged, just can't choose any check boxes except check for updates.
I am unable to find an command line to run against the setup unattended to do a repair or re-install.
Guy LidbetterCommented:
Will, that is the 2007 snapin...
Use the get-pssnapin -registered command to get a list of all snap ins. I believe the one you want ends in 2010... So I import like this...  Add-pssnapin *2010

Also, he can see the cmdlet, just not one of the params in the cmdlet...
Will SzymkowskiSenior Solution ArchitectCommented:
Do you have all of the appropriate permissions? You need to have the 3 i have mention above. If you are not part of these groups you will not have access to the cmdlets in the shell session.

Will SzymkowskiSenior Solution ArchitectCommented:
Will, that is the 2007 snapin...

Mean to say E2013.

2007 - admin
2010 - e2010
2013 -e2013

Guy LidbetterCommented:
Will... He has the cmdlet!!
David BirdPartnerAuthor Commented:
My bad.  I thought I was logged in as administrator but I was logged in as myself (domain admin) but did not assign appropriate roles.  Logging in as administrator and, duh.  
Thank you for your help!  Sometimes I try to do brain surgery for a splinter in my finger.
Will SzymkowskiSenior Solution ArchitectCommented:
No worries. Glad that it is corrected now.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.