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 ‘Tips’ Category

Sharing Printer between 32-bit and 64-bit versions of Windows

Thursday, May 22nd, 2014

Ran into this the other day when trying to share an old printer connected to a 32-bit version of Windows Vista to a 64-bit version of Windows 7 where there were it wouldn’t connect. Found this little trick and worked easily enough. Share the printer on the computer it is attached to as normal. On […]

iQ-Notes

Sunday, June 17th, 2012

I’ve tried various tools to keep track of my to-do list/notes in the past including everything from Outlook, Gmail, Notepad, PriorityMatrix, and many more but never stuck with anything longer than notepad (when used in conjunction with mesh) to keep my notes/lists in sync and on multiple computers. Then I found iQ-Notes which so far seems to […]

Tab key changing window focus

Monday, June 4th, 2012

This is one of those issues that if it had not happened to me and someone called to tell me they were having this problem, I’d probably think they were nuts! I use the tab key all the time to move between fields, so when it started switching the window focus, I started checking my […]

QuickBooks Enterprise Business Planner Unable to Print

Friday, December 2nd, 2011

Recently had someone try using the Business Planner tool in QuickBooks (Enterprise v11) and after entering all of the info, ran into an issue with the preview button being greyed out and unable to view the report. After following the instructions on the Intuit knowledge base article, the preview button was now visable but when […]

PowerShell Ping Test

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 […]

Recover Offline Files and Folders for Vista / Win 7

Friday, November 4th, 2011

After moving over several systems from an old SBS2003 domain to a new SBS2011 Essentials server, one user noticed that there were several files missing from their documents. To be more accurate, the files were there but they were very old versions of the file, not the current one they had been working on. After […]

Set default printer with batch file script

Thursday, November 3rd, 2011

For some reason QuickBooks seems to like changing the default printer on some workstations. Haven’t found the cause yet but decided to put in this work-around to make everyone happy. Added this to a login batch file that runs on the system to reset the default printer for each local computer: Note that the PrintUIEntry […]

QuickBooks Enterprise Scheduled Backups

Wednesday, April 20th, 2011

Recently upgraded to QuickBooks Enterprise 2011 and after setting up the scheduled backups, noticed they weren’t running. Manually backups ran fine but scheduled backups would just create a file in the backup folder called QBTempBackup.tmp followed by the date. After doing some digging around online I found out there’s a QB Backup log file that […]

Running app from Mapped Drive – Avoiding UAC Prompts

Wednesday, March 2nd, 2011

While reinstalling a Windows Vista system the other day I ran into a problem with the UAC security prompt. The primary applicaiton that is run on this computer is not installed locally but run directly from a mapped drive. Normally the user just clicks on the shortcut and the app launches but after a clean […]

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