Running disk cleanup Remotely as a scheduled task

I was dealing with a server that was running out of disk space on the C: drive. I was not able to log into it due to some other issue. In order to clean up some system files from C:\Windows\ … Continue reading →...

Posted in Microsoft, Scripting | Tagged , | Leave a comment

How can I see Time-To-Live (TTL) for a DNS record?

There are two ways that you can query a TTL value for a DNS record. You can use nslookup with the the -q=wks option. You can also view the TTL value in the local “DNS Resolver Cache” on the local … Continue reading →...

Posted in Microsoft, Networking | Tagged , , , | Leave a comment

Microsoft Network Monitor 3.4 Network capture filters

I’m a big fan of WireShark but recently found myself using Microsoft Network Monitor more as we have it installed on a lot of Web servers. Here is a list of filters that i found useful. Some of these filters … Continue reading →...

Posted in Microsoft, Networking | Tagged , , | Leave a comment

Linux – Vim file editor cheat sheet

How to navigate in a Linux file editor VI, pasting a cheat sheet. There are many more options but this is all i usually need to maneuver around. :wq Save file and quit :q! Exit without saving :set nu Display … Continue reading →...

Posted in Linux | Tagged , | Leave a comment

PowerShell create a simple dotted progress bar

I was looking to create a simple dotted progress bar in PowerShell. I needed something basic and simple similar to bash script progress bars. The below is exactly what I needed, its a timed for loop that creates six dots, … Continue reading &r...

Posted in Scripting | Tagged , , | Leave a comment

Disabling TripleDES ciphers on Windows Server 2003 breaks SSL connectivity

As companies start to re-mediate vulnerabilities they start to disable certain ciphers. One thing to be aware of is that Windows 2003 does not support AES 128 or 256 ciphers by default. When you disable TripleDES ciphers on Windwos 2003 … Cont...

Posted in Microsoft | Tagged , | Leave a comment

EqualLogic PS4100E SAN Adding a second member to a group through a serial connection

We have a PS4100 EqualLogic storage array that was running out of space. All the drive bays were full so we ordered another unit. I set it up as RAID-50 and added it as a second member to the group. … Continue reading →...

Posted in Storage | Tagged , , , | Leave a comment

Troubleshoot a Windows server that randomly hangs

Here is a batch script that I found useful to identify which service or process was highly active just before a server froze up. On the server that I was troubleshooting the CPU would spike to a 100% and the … Continue reading →...

Posted in Microsoft, Scripting | Tagged , , , | Leave a comment

Script to capture a duplicate IP on your network

Here is a quick batch script to help identify a duplicate IP. When you run the “arp -a” command in the windows command prompt it will show you the IP address and the MAC address associated with the IP. When … Continue reading &rarr...

Posted in Scripting | Tagged | Leave a comment

Batch script to check if a server is 32-bit or 64-bit and based on output add a registry key

The below batch script starts to log to a file. It then checks if the system is 32-bit or 64-bit. Once it determines that it goes to the AMD64 or X86 function. It queries the proper registry a 32-bit registry … Continue reading →...

Posted in Scripting | Tagged , | Leave a comment