Powershell Script to Add Text to Host files RRS feed

  • Question

  • Need a powershell script to add host entries to an existing host file for a list of servers.

    It should pull from something like servers.txt which will have IP Address or hostname of the server(s) getting updated, add entries to the host file currently located in the standard windows directory, and give an output to a document such as Hosts-Changed.txt of Server that that was updated.

    Tuesday, August 14, 2018 5:58 PM

All replies