Ok with Bryce's code though that is displaying or would be displaying a specific user. See what is going to happen is this. Our default logon script runs. Then just before it exits it is going to call this pc inventory script to retrieve this information and dump it into an SQL database. It all works except retrieving the office they are located in. So i will need it to pull the office that the current user logging on is in.