samwell
samwell

Reputation: 2797

How to send SNMP Traps with PowerShell?

Saw this question posted on StackOverflow on how to send SNMP Traps, but that question was using a paid module. Is there an existing module in Powershell which I can use to generate SNMP Traps?

Upvotes: 0

Views: 2520

Answers (1)

StephenP
StephenP

Reputation: 4081

PowerShell does not have a built in module or commands for SNMP that I've ever found. That being said there are free alternatives that will allow you to work with SNMP in PowerShell. #SNMP has a free open source version that you can easily add a reference to with Add-Type and use just like any .Net class. Net-SNMP is also open source and allows you to work with snmp via their tools though it's text based output that you would need to parse.

Upvotes: 1

Related Questions