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?
 
easyworksConnect With a Mentor Author 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.