SNMP and PowerShell: Difference between revisions
Jump to navigation
Jump to search
m (Minor update to intro) |
(→Overview: Added Win2008 needs .NET 3.5 note) |
||
Line 8: | Line 8: | ||
In order to make the library available for PowerShell to use... | In order to make the library available for PowerShell to use... | ||
# Download the latest ''BigDipper'' binary from http://sharpsnmplib.codeplex.com/releases/view/78947 and extract | # Download the latest '''BigDipper''' binary from http://sharpsnmplib.codeplex.com/releases/view/78947 and extract | ||
# Copy the <code>SharpSnmpLib.dll</code> file to somewhere you can find it | # Copy the <code>SharpSnmpLib.dll</code> file to somewhere you can find it | ||
#* EG in a folder <code>/lib/LexTmSharpSNMP/</code> under where you run your scripts from | #* EG in a folder <code>/lib/LexTmSharpSNMP/</code> under where you run your scripts from | ||
'''Windows 2008 Server doesn't have .NET 3.5 or 4 installed by default''', therefore it needs to be installed. To do so... | |||
# Go into Server Manager | Roles | |||
# Select '''Add roles''' to start the wizard | |||
# Select/tick the '''Application Server''' role, and then ''Add required feature'' | |||
# Complete the wizard | |||
You can then load the assembly into your PowerShell session by something like... | You can then load the assembly into your PowerShell session by something like... | ||
Line 54: | Line 60: | ||
} | } | ||
</source> | </source> | ||
== SNMP Get == | == SNMP Get == |