Skip to content

Set Windows hosts file from CLI as JSON parameter

Notifications You must be signed in to change notification settings

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