Exchange address book policy

Using exchange 2013 SP1 CU12 and the server was rebooted 4 days ago.  (OS Server 2012 R2)

In Exchange Management Shell I am unable to use my previous "New-AddressList -Name "NewCompany_Users_DGs" -RecipientFilter {((RecipientType -eq 'UserMailbox') -or (RecipientType -eq "MailUniversalDistributionGroup") -or (RecipientType -eq "DynamicDistributionGroup")) -and (CustomAttribute1 -eq "NewCompany")}" command that I've copied and pastied before. I am now getting an ERROR " New-AddressList : The term 'New-AddressList' is not recongized as the name of a cmdlet, function, script file, or operable program.

So when i type the word new-Ad and hit the tab key it does not have "New-AddressList" it just goes to the next word.

... When i was looking to find my exchange version and tried to use command "Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion" It says get-exchangeserver is not a recognized either.
LVL 1
easyworksAsked:
Who is Participating?
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.

easyworksAuthor Commented:
I believe the problem is that the user I was longed on with even though is an administrator did not have the necessary rights to run the commands.

I logged in as "Administrator" and it ran the commands just fine.
0

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
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
Exchange

From novice to tech pro — start learning today.