Hosts file - add a record

We’ve seen how to read the Hosts file – this is how we add a record function add-hostfilecontent { [ CmdletBinding ( SupportsShouldProcess = $true ) ] param ( [ parameter ( Mandatory = $true ) ] [ ValidatePattern ( "\b\d{1,3}\.\d{1,3}\.\d{1,3}\. Read More...

Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2011/10/24/hosts-file-add-a-record.aspx


Posted Oct 24 2011, 03:07 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.