VBS Script to list all local users of Adminisitrator and Remote Desktop,id,desctiption,enable/disable, last_login(if local)
Back to some VBS scripting…
This script enumerates all Servers on the current domain and test it with a ping then writes to a server.txt file.
This is a small list of some really nice linux tools I recommend every sysadmin to have somewhere.
- dstat Combines vmstat, iostat, ifstat, netstat information and more http://dag.wieers.com/home-made/dstat/#documentation
- vnstat The best to monitor how much data was transfered tx/rxhttp://humdi.net/vnstat/
- iftop Amazing network bandwidth utility to analyse what is really happening on your eth http://en.wikipedia.org/wiki/Iftop
linux comand to show memory slots
To find out many hardware information on linux you can use the awesome
lshw but when not available also dmidecode.
To find out how many memory for examples:
-How many slots:
# dmidecode -t 16
I have written similar script to check for a single server but this time
it scans a list of server.
It still not integrated with nagios because of the time it takes to execute
It does requires 7z.exe and dumpel.exe
So how can we now a website is working how it should.
As far as performance, server settings, code etc…
Remotely Get Local Admins Users inside Administrators group, for Workstations
Also tests the connectivity, it gets computers from AD object type “computer”
and it prints out a nice report.
My favorite Ubuntu aplications are:
download the scripts from here ( ref. http://g-scripts.sourceforge.net/ )
Uncompress and copy to
~/.gnome2/nautilus-scripts ( version Nautilus 2.22.3* )
now just right click a file and check the scripts options, and enjoy it!
Network Monitoring Tools:
Well I have real world experience as an administrator using many network monitoring tools, the main
ones I have used are: Nagios with Oreon interface and many custom plugins, MOM (Microsoft Operations Manger 2005), CA-NSM r3.1,r11.1(Computer Associates, Network System Monitor), HP-OVO.