Sunday, September 7, 2014

What you need to know within the 1st month of an acquisition / starting a new job

You need to know where the main routers / firewalls / security appliances

You need to know the ip address of all mentioned above

You need the ability to access all network switches (virtual / physical)

You will need a program like spiceworks/zenoss

Then you will also need to plug-in a program like spiceworks into the main circuit that is reachable by all nodes on the network.

















* Tips (Coming soon)
Enable Windows Remote Management



Enable SNMP:
DISM /online /enable-feature /featurename:SNMP

Or you can run the snmp script via powershell:

#Powershell Script To Install SNMP Services (SNMP Service, SNMP WMI Provider)
#Variables 
 $pmanagers = "ADD HOST SNMP RECEIVER"
 $commstring = "ADD SNMP VALUENAME"
#Import ServerManger Module
 Import-Module ServerManager
#Check If SNMP Services Are Already Installed
 $check = Get-WindowsFeature | Where-Object {$_.Name -eq "SNMP-Services"}
 If ($check.Installed -ne "True") {
 #Install/Enable SNMP Services
 Add-WindowsFeature SNMP-Services | Out-Null
 }
##Verify Windows Servcies Are Enabled
 If ($check.Installed -eq "True"){
 #Set SNMP Permitted Manager(s) ** WARNING : This will over write current settings **
 reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMP\Parameters\PermittedManagers" /v 1 /t REG_SZ /d localhost /f | Out-Null
 #Used as counter for incremting permitted managers
 $i = 2
 Foreach ($manager in $pmanagers){
 reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMP\Parameters\PermittedManagers" /v $i /t REG_SZ /d $manager /f | Out-Null
 $i++
 }
 #Set SNMP Community String(s)- *Read Only*
 Foreach ( $string in $commstring){
 reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMP\Parameters\ValidCommunities" /v $string /t REG_DWORD /d 4 /f | Out-Null
 }
 }
 Else {Write-Host "Error: SNMP Services Not Installed"}
 


No comments:

Post a Comment