![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All the Members of a Microsoft Outlook Distribution List
|
||
Const olFolderContacts = 10
Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set objFolder = objNamespace.GetDefaultFolder(olFolderContacts) Set objList = objFolder.Items("Approved Vendors") For i = 1 to objList.MemberCount Set objMember = objList.GetMember(i) Wscript.Echo objMember.Name & ", " & objMember.Address Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |