PoshCode Archive  All files named "AddTo-HostsFile.ps1"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for AddTo-HostsFile.ps1

2018-06-10
13:31
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. file: [5c2d5b5473] check-in: [aa54bb3306] user: Will Steele branch: trunk, size: 2182
13:16
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. file: [4de971897b] check-in: [b0f93363a1] user: Will Steele branch: trunk, size: 2209
13:16
Added: Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. file: [c71e69de38] check-in: [c60bab14af] user: Will Steele branch: trunk, size: 2071