Pages
Categories
- General (4)
- Java (2)
- Security (2)
- Systems Administration (4)
- Virtualisation (3)
- VoIP (2)
Archives
Category Archives: Systems Administration
A more sensible PowerShell prompt
The default PowerShell prompt is long and irritating. I switch my default to the following: In order to achieve this, I have the following script: function prompt { Write-Host("%") -nonewline -foregroundcolor Yellow; return " "; } c: cd Scripts " "; You’ll also note that I change the default working directory to C:\Scripts, which is [...]
Use nmap to locate ProCurve switches on your network
Nmap is a great tool; utterly indispensable for network administrators. If you haven’t got it yet goto http://nmap.org or install via your favourite package manager. Here’s one of my frequently used nmap commands – very simple, but gives you a quick list of IP addresses for all of the ProCurve switches on your network. nmap [...]
Posted in Systems Administration Tagged linux, networking, procurve, scripting, Systems Administration Leave a comment
Automated batch reboot of HP ProCurve switches via telnet
Today I had occasion to reboot about 20 ProCurve 3500yl switches, thanks to yet another firmware bug. The simplest way of doing this is with the “reload” command issued via telnet. Rather than logging into each switch and issuing the reload command by hand I threw together an Expect script which automatically logs into the [...]
Tuning JVM Memory Settings