Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

modifying mapirecipient with powershell

$
0
0

I would like to set the mapirecipient field from $True to $False for a contacts in Active Directory ( These are contacts and are not mail enabled)
by loading the Exchange shell I can get the following

get-contact "hannah.martin@companyabc.ca" | FL   #  I cannot see Mapirecient however i know it is there because I can see the entry via dsa.msc


RunspaceId               : fdaf3adf-4f1e-4ff5-bb15-c5130d5d7f3f
OrganizationalUnit       : internal.companyabcservices.ca/EXCHANGE/Notes Contacts
AssistantName            :
City                     :
Company                  :
CountryOrRegion          :
Department               :
DirectReports            : {}
DisplayName              : Hannah Martin
Fax                      :
FirstName                : Hannah
HomePhone                :
Initials                 :
LastName                 : Martin
Manager                  :
MobilePhone              :
Notes                    :
Office                   :
OtherFax                 : {}
OtherHomePhone           : {}
OtherTelephone           : {}
Pager                    :
Phone                    :
PhoneticDisplayName      :
PostalCode               :
PostOfficeBox            : {}
RecipientType            : MailContact
RecipientTypeDetails     : MailContact
SimpleDisplayName        :
StateOrProvince          :
StreetAddress            :
Title                    :
UMDialPlan               :
UMDtmfMap                : {}
AllowUMCallsFromNonUsers : SearchEnabled
WebPage                  :
TelephoneAssistant       :
WindowsEmailAddress      : hannah.martin@companyabc.ca
UMCallingLineIds         : {}
SeniorityIndex           :
VoiceMailSettings        : {}
IsValid                  : True
ExchangeVersion          : 0.0 (6.5.6500.0)
Name                     : hannah.martin@companyabc.ca
DistinguishedName        : CN=hannah.martin@companyabc.ca,OU=Notes Contacts,OU=EXCHANGE,DC=internal,DC=companyabcservices
Identity                 : internal.companyabcservices.ca/EXCHANGE/Notes Contacts/hannah.martin@companyabc.ca
Guid                     : bdb7ada3-cbb1-4edd-a998-ce7a170deba8
ObjectCategory           : companyabcservices.ca/Configuration/Schema/Person
ObjectClass              : {top, person, organizationalPerson, contact}
WhenChanged              : 29/11/2013 3:16:44 PM
WhenCreated              : 29/11/2013 3:08:50 PM
WhenChangedUTC           : 29/11/2013 8:16:44 PM
WhenCreatedUTC           : 29/11/2013 8:08:50 PM

How do I get powershell to display Mapirecipient

 

 

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 8583

Trending Articles