Topic
  • 1 reply
  • Latest Post - ‏2014-05-02T02:08:18Z by jgstew
EPadilla
EPadilla
1 Post

Pinned topic Windows Server SNMP Installation Using Tivoli Endpoint Manager

‏2014-04-30T21:18:35Z |

I want to use Tivoli Endpoint Manager to install SNMP onto Windows hosts in our infrastructure.  I am trying to use the following actionscripts but they do not install SNMP.  Please let me know what needs to be changed to get SNMP installed using the Endpoint Manager.  Thanks.

Windows 2008R2

createfile until __END
Import-Module ServerManager
Add-WindowsFeature SNMP-Services
__END
move __createfile snmp-install.ps1
wait "c:\windows\sysnative\WindowsPowerShell\v1.0\powershell.exe" -file ".\snmp-install.ps1"
delete snmp-install.ps1

Windows 2003

//reg setting to point to windows cd files
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]" "SourcePath"="{escapes of "\\server-share\Win2003"}"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]" "ServicePackSourcePath"="{escapes of "\\server-share\Win2003"}"
createfile until __END
[Components]
NetOC=ON
[NetOptionalComponents]
SNMP=1
__END
move __createfile snmp.inf
run sysocmgr.exe /r /q /i:"%windir%\inf\sysoc.inf" /u:"snmp.inf"
delete snmp.inf