In the script below, I would like to check for and skip outputing
SystemMailbox users. How can this be done? Also, what are
SystemMailbox user accounts used for?
Bob Mendgik
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'List Users Home in Active Directory
'
Set WSHNetwork = CreateObject("WScript.Network")
Domain = "<some domain>"
Set DomainObj = GetObject("WinNT://" & Domain)
DomainObj.Filter = Array("User")
For Each UserObj in DomainObj
Wscript.Echo UserObj.Name
Next
MsgBox " Done "
SystemMailbox users. How can this be done? Also, what are
SystemMailbox user accounts used for?
Bob Mendgik
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'List Users Home in Active Directory
'
Set WSHNetwork = CreateObject("WScript.Network")
Domain = "<some domain>"
Set DomainObj = GetObject("WinNT://" & Domain)
DomainObj.Filter = Array("User")
For Each UserObj in DomainObj
Wscript.Echo UserObj.Name
Next
MsgBox " Done "