Created
December 19, 2013 14:51
-
-
Save morgansimonsen/8040285 to your computer and use it in GitHub Desktop.
Remove Exchange attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-qadobject -SearchRoot <canonical name of domain> ´ | |
-ldapFilter '(&(objectClass=group)(mailnickname=*))' ´ | |
-service <DC FQDN> -SizeLimit 0 | Set-QADObject -ObjectAttributes ´ | |
@{adminDisplayName='';´ | |
altRecipient='';´ | |
authOrig='';´ | |
autoReplyMessage='';´ | |
deletedItemFlags='';´ | |
delivContLength='';´ | |
deliverAndRedirect='';´ | |
displayNamePrintable='';´ | |
dLMemDefault='';´ | |
dLMemRejectPerms='';´ | |
dLMemSubmitPerms='';´ | |
extensionAttribute1='';´ | |
extensionAttribute10='';´ | |
extensionAttribute11='';´ | |
extensionAttribute12='';´ | |
extensionAttribute13='';´ | |
extensionAttribute14='';´ | |
extensionAttribute15='';´ | |
extensionAttribute2='';´ | |
extensionAttribute3='';´ | |
extensionAttribute4='';´ | |
extensionAttribute5='';´ | |
extensionAttribute6='';´ | |
extensionAttribute7='';´ | |
extensionAttribute8='';´ | |
extensionAttribute9='';´ | |
folderPathname='';´ | |
garbageCollPeriod='';´ | |
homeMDB='';´ | |
homeMTA='';´ | |
internetEncoding='';´ | |
legacyExchangeDN='';´ | |
mail=''; | |
mailNickname='';´ | |
mAPIRecipient='';´ | |
mDBOverHardQuotaLimit='';´ | |
mDBOverQuotaLimit='';´ | |
mDBStorageQuota='';´ | |
mDBUseDefaults='';´ | |
msExchADCGlobalNames='';´ | |
msExchControllingZone='';´ | |
msExchExpansionServerName='';´ | |
msExchFBURL='';´ | |
msExchHideFromAddressLists='';´ | |
msExchHomeServerName='';´ | |
msExchMailboxGuid='';´ | |
msExchMailboxSecurityDescriptor='';´ | |
msExchPoliciesExcluded='';´ | |
msExchPoliciesIncluded='';´ | |
msExchRecipLimit='';´ | |
msExchResourceGUID='';´ | |
protocolSettings='';´ | |
proxyAddresses='';´ | |
publicDelegates='';´ | |
securityProtocol='';´ | |
showInAddressBook='';´ | |
submissionContLength='';´ | |
targetAddress='';´ | |
textEncodedORAddress='';´ | |
unauthOrig=''} ´ | |
-service <DC FQDN> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment