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
-
How I use scripting
I work with two developers, in order to reduce the amount of teasing I decided to modularize all of my code. I have several functions and subroutines that I am fairly proud of and will document their use here. All of the scripts will be freely available in my public Scripts folder.
-
Get Serial
About 99.9% of the computers we manage are Dell computers. Each Dell computer has a unique service tag that can be used to lookup anything from warranty information to the correct drivers. The serial number is stored in the BIOS and can be changed using a Dell supplied utility.
-
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.