Welcome to the site, my name is Jeff and I have been working in the IT field since the early 90's. Most of what I post here is related to work that I do for the various companies that I have worked for over the years. Please feel free to look around ask questions or post comments (if available).

Feel free to reach out:

Recent Posts

  • WMI Ping Script

    Most of the computer management scripts run against multiple computers, I usually want to have the script do one task if the computer is available for management or another when it’s not. So I put together a very simple function, WMIPing, that takes advantage of the Err object.

  • Get MAC Address

    In managing our IP space we rely heavily on the MAC address of a computer. This seems to be slightly backwards of how most people manage their IP space, but we consider the IP to be a property of the MAC, and the MAC itself represents the computer.

  • Build Report

    The BuildReport procedure is a basic file creation script. It verifies that the folder that is passed in exists before processing anything. I could have made the script create the folder if it didn’t exist, but in our environment a given user may not be able to create a directory. This way it logs the error in the application log for later review.

  • Get Username

    One of the things we find handy is the ability to know who is logged on to a given computer at any one time. The main reason is that our users rarely tell us which computer they are on when they submit a help-request, so if we have someplace to look that makes our jobs that much easier.

  • Get Prop

    GetProp is a generic function that is used to return single-valued properties from objects in the Active Directory. If the property is empty it writes an entry to the application log via the LogData routine.