Solved

Exchange address book policy

Posted on 2016-08-04
1
20 Views
Last Modified: 2016-08-04
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.
0
Comment
Question by:easyworks
1 Comment
 
LVL 1

Accepted Solution

by:
easyworks earned 0 total points
ID: 41742787
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

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now