Skip to content

shaun-earsom/PowerShell-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

hostsModify

find/replace/comment/uncomment hosts file entries.

hostsControl

Insures hosts file has the correct entry for the target server Octopus Deploy is working on.

Lessons Learned:

  • One line admin console!
  • Arrays in PS don't carry data over functions.
  • Octopus needs to close sessions.
  • PS approved Verbs.

About

PowerShell - find/replace/comment/uncomment hosts file entries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors