Currently Browsing: CMD

DHCP and NPS Backup Script

There is no possibility to backup DHCP and NPS except using native Windows Backup System State which is not so convenient for very quick recovery of some failures or wrong modifications in these systems. That’s why this script is very helpful when you need a quick recover. It uses native export and...

Add Managers’ IPs to SNMP Service

If you have many of servers where you should change a list of permitted managers for reading SNMP functions from them here is an example how to do this. #Variables about snmp managers, snmp community, list of servers $pmanagers = "localhost","192.168.0.1","192.168.0.2","192.168.0.3" $commstring =...

Save Credentials for all Servers’ RDP Connections

It was a big joy when I found a solution how to save my current windows credentials for all servers’ rdp connections. We have more than 50 servers and it’s annoying to enter my credentials on every rdp connection to server. But can you imagine how it is hard for environment with 200 and even 1000...

Parse Net Session and Delete Idle Connections

Everybody knows that Microsoft Windows XP has a limitation for connected tcp sessions. This fact is most important if you have connected a printer to that PC and have shared it. If there are more than 10 printer users you’ll have problems with printing. That’s why I decided to write a script to take all...