List User Account Address Page Attributes

Retrieves user account attributes found on the Address page of the user account object in Active Directory Users and Computers.

VBScript Code

On Error Resume Next
Set objUser = GetObject _
WScript.Echo "Street Address: " & objUser.streetAddress
WScript.Echo "Post Office Box: " & objUser.postOfficeBox
WScript.Echo "Locality: " & objUser.l
WScript.Echo "Street: " &
WScript.Echo "Postal Code: " & objUser.postalCode
WScript.Echo "Country: " & objUser.c