PsHosts

1.2.2

Provides Cmdlets for manipulating the local hosts file

Minimum PowerShell version

3.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PsHosts -RequiredVersion 1.2.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PsHosts -Version 1.2.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2017 Richard Szalay. All rights reserved.

Package Details

Author(s)

  • Richard Szalay

Tags

Networking Development

Cmdlets

Add-HostEntry Get-HostEntry Set-HostEntry Disable-HostEntry Enable-HostEntry Remove-HostEntry Test-HostEntry

Dependencies

This module has no dependencies.

Release Notes

* Fixed Set-HostEntry -Force (broken in 1.2.1)
* Hostname parameter completion now works correctly on Linux (#12)
* Added `-Loopback` and `-IPv6Loopback` parameters to Add/Set-HostEntry (#6)
* Added `IPAddress` and `IsLoopback` properties to HostEntry (#2)

FileList

Version History

Version Downloads Last updated
2.0.0-preview1 85 12/31/2021
1.2.2 (current version) 292,997 8/13/2017
1.2.1 319 7/30/2017
1.2 694 6/28/2017
1.1.1 98 6/24/2017
1.1 5,637 9/26/2015
Show more