Clearing hosts file

We seen how to delete a single entry from the hosts file – this is how we clear all entries function clear-hostfilecontent { [ CmdletBinding ( ) ] param ( ) $file = Join-Path -Path $( $env:windir ) -ChildPath "system32\drivers\etc\hosts" if Read More...

Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2011/10/30/clearing-hosts-file.aspx


Posted Oct 30 2011, 03:39 PM by Richard Siddaway's Blog
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.