Skip to content

cvila84/sethosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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  

About

Set Windows hosts file from CLI as JSON parameter

Resources

Stars

Watchers

Forks

Packages

No packages published