Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Script to modify network settings, server name, and domain.

$
0
0

Hello all!

Often, I have to change the network settings on a mass quantity of servers, which takes a while to do manually. I am wondering if there was a way to use a .csv file as reference and use the serial number as the identifier for the server's network settings in the .csv file? These are HP DL380e G8 servers mostly, so to get the serial in the powershell, you have to use the WMIC command to get serialnumber.

So to reiterate here is the flow I would like to be able to use:

Start script> Script pulls the servers serial number> Script uses serial number pulled to match the serial number bank in the .csv file > Script then uses configuration settings to the right of that serial number (Network, domain, and server name)

Is something like this possible? Even just network settings would help a ton. Another idea I have had is to use a small vb program to generate the .csv file based on information given. Any help would be greatly appreciated!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>