Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 405 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 405 Bytes

sethosts

Build Status

What is sethosts ?

sethosts allows to set the Windows hosts file directly from CLI as JSON payload

For example,

C:\>sethosts [{\"IP\":\"127.0.0.1\",\"HostName\":\"localhost\"}]  

will result in the following hosts file

127.0.0.1   localhost