Ok

I need this information for our database of information on every user in our organization. We are pulling Full Name, Username, PCName, Office, and Dell Service Tag. We need this to check for upcoming warranty expiration on our systems and we need the Office to be able to notify the department of whose PCs they are. It is an admin script but it runs so fast we have it running with a logon script. I do need to collect this information for every user that executes the logon script. And the only information I want returned is the Office which is physicalDeliveryOfficeName. I need to be able to take that and define the variable for it and dump it to an SQL database just like the other information.