Create CI and Baseline for verifying SNMP-service installed and running

Case:

You need to verify that SNMP-service is running on servers, and if not it must be installed.

To do after running the script:

You need to set “supported platforms” on the CI after creation. This CI and Baseline only runs on Server 2012 and above.

Main-Script:

The main script to run in powershell elevated in the ConfigMgr ps-drive.

If you want to enable it by default you have to change the last line from “-EnableEnforcement $false” to “-EnableEnforcement $true”

Discovery-script:

To find if the SNMP is running on the server.

Remediation-script:

The script to install SNMP-.service on the server.

 

Add a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Damberg Online

Subscribe now to keep reading and get access to the full archive.

Continue reading