Skip to content

KeithRochester/Windows-Hosts-File

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Hosts File Maintenance Management Pack

Using the hosts file for managing name resolution really should be a last resort. That said, I recently had a requirement to add/remove hosts file entries on agents managed by SCOM. This management pack demonstrates using PowerShell based probe and write actions to read and update entries to the hosts file.

The Management Pack contains 3 tasks. All are targeted at the Microsoft Windows Computer (Microsoft.Windows.Computer) class. Links to documentation and examples below.