Google
Search WWW Search msexchangetips.blogspot.com

Monday, January 19, 2009

Exchange: Find Disabled Accounts with Mailboxes Via PowerShell

Summary: This article will go over how to search for disabled users with mailboxes. This is part 2. In part 1; this was done using ADUC.

Exchange: Find Disabled Accounts with Mailboxes
http://msexchangetips.blogspot.com/2007/06/exchange-find-disabled-accounts-with.html

This part will go over how to use powershell.

1. Download Quest powershell. http://www.quest.com/activeroles-server/arms.aspx

Run the following query. I like to export just the name, description and altrecipient to find out if the mailbox is doing any forwarding as well.

[PS] H:\>get-qaduser -includedproperties altrecipient, homeMDB -disabled | select-object -property "name", "description" , "altrecipient", "homeMDB" > c:\mailboxes.csv

Then sort by HomeMDB



James Chong (MVP)
MCITP | EMA; MCSE | M+, S+,
Security+, Project+, ITIL
msexchangetips.blogspot.com

26 Comments:

Anonymous Shay Levy said...

Hi James,

If I were you I would remove the ldap filter for disabled users and use the builtin -disabled parameter (less to type),
you can also remove (objectClass=User) since get-qaduser gets user objects only :)

I would also add -sizeLimit 0 to bypass the 1000 objects limit and pipe the results to export-csv.

2:57 AM  
Blogger jamestechman said...

Even Better! Thanks Shay; you are the powershell master!!

7:07 AM  
Anonymous Alyssa said...

Hi James,

I've got a nagging problem that maybe you can post about.

Scenario: VP has an assistant who is a delegate and has explicit permissions to calendar, etc. Assistant leaves the company and her mailbox is deleted (AD account still exists, no MSX attributes). All explicit permissions and delegate status have been removed from VP's account.

Now, internal users sending meeting requests to the VP get NDR message from the *assistant*: "The e-mail account does not exist at the organization this message was sent to." The request is received by the VP but the NDRs are annoying to the people sending meeting requests to the VP.

I have already used adsiedit to verify no attributes in VP's account are still set for the assistant.

Sorry to leave this as a comment - I couldn't find a better way to post on your blog, and you looked like a good person to ask. :)

Thanks,
Alyssa

1:58 PM  
Anonymous Pat said...

Alyssa,

You've probably already tried this, but we've run into this too and using the outlook.exe /cleanserverrules switch has helped clear this sometimes. When that fails, using the MFCMapi tool to remove the hidden rule from the VP's mailbox will work. Be careful using this tool as it is easy to hose the mailbox when used improperly. Make sure you review the doc before running it against the mailbox.

7:50 AM  
Anonymous Exchange email hosting said...

Pat: I'd be too wary with the MFCMapi tool... do you have any other suggestions?

1:06 AM  
Blogger longge said...

The Hogan scarpe
reminds to the spring’s pure coolers. Have a look at our fashion store online where you can find the Hogan scarpe donna
. The modern atmosphere of the hogan donna
campaign is not only in the items used. Among the many interesting points he made was that Hogan scarpe uomo
swing was very difficult to copy.

5:45 PM  
Anonymous Cialis Online said...

I love when I find these blogs that post information regarding technology and all of those aspects of the worldwide information.

9:21 AM  
Anonymous buying zolpidem said...

I can't find part 1 of this articles.

10:06 AM  
Anonymous augmentin vs zithromax said...

That is very good comment you shared.Thank you so much that for you shared those things with us.Im wishing you to carry on with ur achivments.All the best.

9:34 AM  
Anonymous tablet pc android said...

Wow, there is a great deal of useful data above!

1:25 AM  
Blogger chenyingying9539 9539 said...

2015-6-30chenyingying9539
nike air max
jrodan retro
burberry outlet
chanel bags
true religion jeans
jordan 8s
oakley vault
dior handbags
gucci outlet
michael kors outlet
polo ralph lauren
toms outlet
louis vuitton outlet
cheap jordans
oakley sunglasses
hermes birkin bag
sac longchamp pas cher
michael kors outlet
mulberry handbags
chanel bags
louis vuitton outlet
coach outlet
coach factorty outlet
ray ban uk
hollister clothing store
hollister clothing store
louis vuitton handbags
fendi
ralph lauren outlet
michael kors

7:20 PM  
Blogger 风骚达哥 said...

20151012 junda
Abercrombie & Fitch Factory Outlet
michael kors outlet
coach factory outlet
michael kors outlet
Louis Vuitton Handbags Factory Store
louis vuitton
Cheap Jordans For Sale Wholesale
oakley sunglasses,oakley vault,prescription sunglasses,polarized sunglasses,aviator sunglasses,spy sunglasses,oakleys,oakley canada,cheap oakley sunglasses,oakley frogskins,oakley holbrook,cheap sunglasses,wayfarer sunglasses,oakley standard issue,fake oakleys,oakley glasses,oakley.com,oakley prescription glasses,oakley goggles,sunglasses for men,oakley gascan,oakley store,oakleys sunglasses
uggs australia
ugg boots
cheap ugg boots
michael kors handbag
Coach Factory Outlet Online Sale
Louis Vuitton Outlet USA
Air Jordan 4 Toro Bravo
canada goose outlet
toms outlet
New Louis Vuitton Handbags Outlet
Michael Kors Handbags Outlet Deals
michael kors outlet
Wholesale Authentic Designer Handbags
Ugg Boots,Ugg Boots Outlet,Ugg Outlet,Cheap Uggs,Uggs On Sale,Ugg Boots Clearance,Uggs For Women
cheap jordan shoes
michael kors outlet online
louis vuitton handbags
Coach Factory Outlet Private Sale
true religion jeans
Louis Vuitton Bags On Sale
Jordan 13 Shoes For Sale
Ralph Lauren Outlet Clothing

6:07 AM  
Blogger oakleyses said...

louis vuitton outlet, oakley sunglasses, michael kors handbags, cheap jordans, prada handbags, uggs outlet, michael kors outlet, oakley sunglasses, uggs on sale, ray ban sunglasses, burberry outlet, tiffany jewelry, uggs on sale, kate spade, gucci handbags, ray ban sunglasses, prada outlet, longchamp outlet, louboutin uk, burberry factory outlet, tory burch outlet, nike air max, tiffany jewelry, christian louboutin, louboutin shoes, oakley sunglasses, cheap oakley sunglasses, chanel handbags, michael kors outlet store, louis vuitton outlet, nike outlet, ralph lauren polo, louis vuitton, christian louboutin, michael kors outlet online, longchamp outlet, uggs outlet, michael kors outlet online, nike air max, longchamp bags, replica watches, ralph lauren outlet, oakley sunglasses, ray ban sunglasses, louis vuitton outlet online, nike free, michael kors

6:41 PM  
Blogger oakleyses said...

burberry pas cher, lunette oakley pas cher, coach outlet, kate spade outlet, true religion jeans, converse, coach outlet, longchamp soldes, north face uk, michael kors, louboutin pas cher, new balance, lululemon outlet, coach purses, nike air max, hermes pas cher, nike tn pas cher, vans pas cher, coach outlet store online, mulberry uk, lunette ray ban pas cher, nike air max uk, sac guess pas cher, nike air force, nike roshe run pas cher, longchamp pas cher, north face pas cher, nike air max pas cher, ray ban uk, true religion outlet, abercrombie and fitch, polo lacoste pas cher, true religion outlet, michael kors, jordan pas cher, nike free, polo ralph lauren uk, vanessa bruno pas cher, true religion outlet, hogan sito ufficiale, ralph lauren pas cher, michael kors outlet online, nike free pas cher, nike roshe uk, abercrombie and fitch UK, nike blazer pas cher, hollister uk

6:43 PM  
Blogger oakleyses said...

converse shoes outlet, salvatore ferragamo, timberland boots, softball bats, herve leger, ray ban, hollister, louboutin, gucci, nike roshe run, iphone cases, beats by dre, mcm handbags, oakley, p90x workout, insanity workout, wedding dresses, abercrombie and fitch, abercrombie, nike air max, mac cosmetics, babyliss pro, valentino shoes, bottega veneta, mont blanc, converse, jimmy choo outlet, hollister clothing, nike air max, north face outlet, new balance shoes, north face outlet, instyler ionic styler, soccer shoes, lululemon outlet, asics running shoes, ghd hair, giuseppe zanotti, soccer jerseys, nfl jerseys, longchamp uk, reebok outlet, nike air huarache, chi flat iron, hermes handbags, vans outlet, polo ralph lauren, celine handbags, nike trainers uk, vans scarpe

6:45 PM  
Blogger oakleyses said...

toms shoes, supra shoes, montre pas cher, ugg uk, juicy couture outlet, moncler, lancel, michael kors outlet online, ugg pas cher, michael kors handbags, barbour, doke & gabbana, michael kors outlet, coach outlet, louis vuitton uk, canada goose jackets, pandora charms, moncler, ugg,ugg australia,ugg italia, links of london uk, moncler jackets, hollister, juicy couture outlet, canada goose outlet, swarovski uk, pandora jewelry, canada goose pas cher, canada goose outlet, marc jacobs, moncler pas cher, thomas sabo uk, swarovski jewelry, karen millen uk, louis vuitton, moncler, moncler uk, sac louis vuitton, canada goose, moncler outlet, louis vuitton, canada goose, wedding dresses uk, ugg,uggs,uggs canada, canada goose uk, sac louis vuitton, moncler, replica watches, barbour jackets uk, bottes ugg pas cher, canada goose jackets

6:48 PM  
Blogger Junda Xu said...

20151026 junda
michael kors outlet
louis vuitton outlet
nfl jerseys
cheap ugg boots
Coach Factory Outlet Online Sale
air max 95,nike golf,nike janoski,air max 1,nike canada,nike plus,nike shox,nike factory store
Louboutin Red Bottoms Shoes Outlet
oakley sunglasses
louis vuitton outlet
ralph lauren polo
michael kors outlet
michael kors outlet sale
ugg boots
Authentic Louis Vuitton Handbags Cheap Online
mont blanc
michael kors outlet
Gucci Outlet Online Sale
michael kors handbags
Authentic Louis Vuitton Belts Outlet Store
michael kors outlet
Coach Factory Outlet Private Sale
true religion jeans
tory burch outlet
Oakley Vault Outlet Store Online
hollister clothing store
nike trainers
Louis Vuitton Handbags Official Site
michael kors handbag
Louis Vuitton Handbags Factory Store
uggs australia

1:16 AM  
Blogger Minko Chen said...

phone cases
converse shoes
nike running shoes
michael kors outlet online
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
winter coats
barbour jackets
jordan shoes 2015
michael kors outlet online
true religion jeans
mizuno running shoes
moncler jackets
true religion outlet
air max shoes
christian louboutin,louboutin,louboutin outlet,louboutin outlet italia,scarpe louboutin
roshe run men
replica handbags,replica handbags outlet,cheap handbags,purses and handbags,wholesale replica handbags,replica bags,bags outlet,replica handbags wholesale,cheap purses,discount handbags,handbags sale,wholesale purses,handbags and purses,replica purses
snapbacks wholesale
mlb jerseys
coach handbags outlet

6:53 PM  
Blogger 小 Gg said...

ysl outlet online
nike free
hollister shirts
michael kors outlet store
coach outlet store
chicago blackhawks
ugg clearance
timberland outlet
tiffany jewellery
coach outlet online
rayban sunglasses
chanel handbags
nike roshe run
michael kors handbags,michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors
mizuno shoes
snow boots outlet
pandora charms
hermes outlet online
ugg uk outlet
true religion jeans
ugg outlet
oakley sunglasses cheap
moncler outlet
louis vuitton outlet online
beats by dr dre
cheng1202

11:59 PM  
Blogger John said...

cheap oakleys
hollister co
nike running shoes
longchamp outlet
ray-ban sunglasses
louis vuitton handbags
tory burch outlet
ugg boots
jordans
toms shoes
uggs outlet
uggs on sale
oakley sunglasses
christian louboutin outlet
louis vuitton
jordan shoes
coach outlet
abercrombie and fitch
ugg boots
hollister jeans
cheap uggs for sale
louis vuitton outlet
nike air max
hollister uk
lebron james shoes
ugg slippers
cheap uggs
gucci outlet
nike huarache
uggs on sale
polo ralph lauren outlet
20151203yuanyuan

7:12 PM  
Blogger 小 Gg said...

ysl outlet online
nike free
hollister shirts
michael kors outlet store
coach outlet store
chicago blackhawks
ugg clearance
timberland outlet
tiffany jewellery
coach outlet online
rayban sunglasses
chanel handbags
nike roshe run
michael kors handbags,michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors
mizuno shoes
snow boots outlet
pandora charms
hermes outlet online
ugg uk outlet
true religion jeans
ugg outlet
oakley sunglasses cheap
moncler outlet
louis vuitton outlet online
beats by dr dre
cheng1203

1:45 AM  
Blogger xumeiqing said...

151210meiqing
cheap nfl jerseys
louis vuitton outlet
louis vuitton handbags
tory burch sale
replica watches
adidas originals
coach outlet
gucci handbags
coach factory outlet
michael kors outlet
supra shoes
replica watches for sale
hollister uk
air max 90
p90x workouts
nike air max
the north face
nike air huarache
cheap jordans
louis vuitton handbags
abercrombie
gucci shoes
the north face
coach outlet
ray ban sunglasses
ugg boots
nike huarache
ray-ban sunglasses
michael kors outlet
michael kors outlet
coach factory outlet
ugg outlet store
louis vuitton outlet
jordans
oakley sunglasses
michaek kors outlet
ugg boots
coach factory outlet
ray ban outlet
oakley sunglasses wholesale

6:11 PM  
Blogger 艾丰 said...

jianbin1217
fitflops shoes
fitflops sale
fitflops sale clearance
fitflops sale
fitflops shoes
michael kors outlet
michael kors outlet
michael kors outlet
tiffany and co
tiffany jewellery
beats by dr dre
beats by dre
oakley sunglasses
oakley sunglasses
ray-ban sunglasses
ray ban sunglasses
hollister uk
lululemon outlet
ugg outlet
ugg boots
ugg boots
rolex watches
mulberry handbags
mulberry bags
mulberry outlet
mulberry sale
mulberry handbags
mulberry handbags
louis vuitton handbags
louis vuitton handbags
toms shoes
omega watches
ferragamo shoes

6:37 PM  
Blogger Chen Jeje said...

air jordan retro
discount oakley sunglasses
michael kors outlet
oakley sunglasses
toms outlet store
nfl jerseys
oakley sunglasses
cheap uggs
michael kors outlet online
Michael Kors Purses
Cheap Jordans For Sale
ray ban sunglasses outlet
huaraches shoes
nfl jerseys
michael kors outlet online
tiffany and co jewelry
cheap basketball shoes
huaraches shoes
ralph lauren polo shirts
chrome hearts online store

7:19 PM  
Blogger Chen Jeje said...

ray ban sunglasses outlet
cheap authentic jordans
http://www.cheapbasketballshoes.us.com
christian louboutin outlet
true religion store
ralph lauren uk
ray ban sunglasses
jordans for cheap
Cheap NFL Jerseys China
michael kors handbags clearance
http://www.michaelkors-outletwebsite.com
http://www.raybanglasses.in.net
http://www.airhuaraches.org.uk
fitflops sale
oakley sunglasses,oakley outlet sunglasses
toms outlet
christian louboutin shoes
air huarache shoes
nike dunks
kobe basketball shoes
toms outlet store

7:30 PM  
Blogger Unknown said...



الاول سيو افضل اشهار المواقع فى محركات البحث تعمل على تسويق المواقع وارشفتها باحدث وسائل السيو فهى تقوم بتهيئة المواقع لمحركات البحث لجلب الزوار والعملاء
ومن اقسام الاول سيو قسم الخدمات المنزليه مثل افضل شركة تنظيف شرق الرياض
وافضل شركة تنظيف شرق الرياض بالاضافة الى افضل شركة مكافحة حشرات شرق الرياض وتغطى خدماتها شرق وشمال الرياض فالاول افضل شركة مكافحة حشرات شرق الرياض تستخدم اقوى المبيدات الحشرية
واسعارها في متناول الجميع ومن الهام التاكد دائما من خلو منزلك من تسربات المياه حتى لا تتعرض لمشاكل مثل انهيار وتصدع المبانى الاول افضل شركة كشف تسربات المياه بشرق الرياض تستخدم اجهزه الكترونية اكشف التسرب بالذبذبات وتغطى كافة مناطق الرياض فهى افضل شركة كشف تسربات المياه شرق الرياض

افضل شركة تنظيف كنب بالرياض

الاول شركة تخزين عفش بالرياض
توفر افضل المستودعات لتخزين الاثاث والعفش التى تتوفر بها كل عوامل الامن للحفاظ على الاثاث وتقوم بتغليف الاثاث قبل تخزينه للمحافظة عليها فالاول افضل شركات تخزين العفش بالرياض ونوفر سيارات لنقل الاثاث من اى مكان داخل المملكة .

بالاضافة الى خدمة نقل عفش بالرياض فنحن نمتلك اكبر اسطول نقل بالرياض يوفر لك افضل خدمة نقل اثاث بالرياض
بالاضافة الى ان اسعارها في متناول الجميع فهى فالاول شركة نقل عفش بالرياض رخصية بالمقارنة مع باقي الشركات بالرغم من جودة عملها ودقة المواعيد فهى تقوم بتغليف العفش للحفاظ عليه اثناء النقل وتقوم باستخدام سيارات مغطاه مخصصة لنقل العفش للحفاظ عليه من اضرار الشمس والامطار والاتربة فالاول افضل شركة نقل اثاث بالرياض وتغطى كافة مدن المملكة


وتوفر الاول عدة شراء اثاث مستعمل بالرياض لتغطية كافة الاتصالات وللمتابعة مع العميل اثناء نقل الاثاث المستعمل

5:52 PM  

Post a Comment

<< Home

xml:lang="en" lang="en"> MS Exchange Tips: Exchange: Find Disabled Accounts with Mailboxes Via PowerShell