Tag Archives: hosts file

Retrieving contents of Hosts file using PowerShell

I decided that I wanted a way to view all of the hosts file on a bunch of servers and see just what is listed.  Most of the code is fairly straight-forward where I use Test-Connection and Test-Path to validate … Continue reading

Posted in powershell, scripts | Tagged , , | 6 Comments