gygon

PowerShell Ping Test

Posted by gygon on Wednesday, November 16th, 2011

Used this little script the other day for a basic network test to an access point I was testing. It just pings the device every 10 seconds (or whatever you set it at) and only outputs when there is an error and the time it occurred. Made for an easy way to leave this running over […]

continue reading

Using PowerShell to monitor a web server

Posted by gygon on Monday, November 14th, 2011

A couple years ago I posted about a PowerShell script that would read in a web page. I used that to setup a basic web site test to go through a list of web sites/servers and make sure they were up and running and email an alert if they were down or the size of […]

continue reading

Monitoring the Event Log with PowerShell

Posted by gygon on Saturday, March 21st, 2009

One of my goals with learning more about PowerShell is to be able to monitor the event logs on servers and notify me via email when certain events happen. The system I’m looking to monitor are not part of a domain, are in remote locations on isolated networks. Some of the main things I’m looking […]

continue reading

Archive for the ‘Tech’ Category

Copy file and append date and time

Thursday, December 9th, 2010

Recently set this up for someone and then had someone else looking to do the same thing about a week later. Figured it would be good to post it here for future reference. The first example adds just the date: The second example adds both the date and timestamp: Some reference: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/for.mspx?mfr=true http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows-command-line-in-a-suitable-format-for-usi

Thin client Setup notes HP t5740e

Wednesday, December 8th, 2010

While setting up a new HP t5740e thin client for testing, I needed to install Adobe Reader. The problem was I kept getting the error that there was not enough room on the drive. There was still over 3GB remaining but the Temp drive (in My Computer > Advanced > Environment Variables) was setup to […]

Power Efficiency Diagnostics Report

Sunday, January 17th, 2010

Cool little utility built into Windows 7 to survey your computers energy efficiency. Run a command prompt as Administrator and run the following: powercfg –energy This will run for a minute and then create a report for your system. The filename and path will be shown when it finishes running. Note that you may need […]

Location Aware Printing in Win7

Friday, October 2nd, 2009

A cool feature in Windows 7 is location aware printing to allow your laptop to automatically choose the default printer based on the network your connected to. The instructions below are from the Microsoft Springboard Series To setup location aware printing: Click the Start menu and then click Devices & Printers Under Printers and Faxes, […]

Windows Server 2008 Easy Print

Tuesday, June 9th, 2009

:: UPDATE After the 120 days the server stopped responding to Remote Desktop. I got in touch with the support rep and it looks like even after repeatedly questioning the fact that I’m not acutally running a Terminal Server and being told not to worry, he mis-understood. I removed the Terminal Services role, rebooted and […]

Windows 7 Driver Recovery

Tuesday, May 12th, 2009

I had the first issue I’ve seen so far with Windows 7 today, actually it was the new beta NVidea driver that I’m running. While in the middle of working my screen blanked out..just as I started muttering the slew of curses it came back online and the little balloon popped up saying there was […]

Keepvid

Wednesday, May 6th, 2009

Cool site was mentioned on Tekzilla to allow you to download and save videos from YouTube so you can store and watch later or on portable players. Check out Keepvid.com

Setup MRTG on Ubuntu

Tuesday, May 5th, 2009

I have an old system that is running Ubuntu on it for the main purpose of running MRTG. Once it was setup the only time I ever connect to it (other than viewing the stats pages) is when I need to add additional devices to be monitored. Because I don’t do this often I always […]

Windows 7 RC

Sunday, May 3rd, 2009

I decided to try out the new Windows 7 RC on a Asus EeePC 1000HE netbook. After setting up a USB flash drive to boot from, the install went smooth. The Ethernet driver is actually included in the RC where it wasn’t in the Beta…still have one driver missing but haven’t looked to see what […]

Web Tools

Saturday, May 2nd, 2009

I haven’t had a chance to try this out yet (too busy playing around with Windows 7 running on my new Asus EeePC 1000HE) but Microsoft Glimmer looks like a really cool tool to create some nice JQuery scripts without having to do any coding. Definitely something to check out: http://code.msdn.microsoft.com/glimmer Also came across this […]