DROTHISM
Get Oldest File in a Directory
Posted by Drothism on Mar 17th, 2009Looking for a quick way to get the oldest file in a directory? Here is a quick and dirty method to do it with PowerShell…
dir f:\archive -recurse| ?{!($_.PSIsContainer)} | sort -property lastwritetime | select -first 1
The ?{!($_.PSIsContainer)} filter will leave sub-directories out of the search.
DROTHISM
Run PowerShell Scripts from Task Scheduler
Posted by Drothism on Feb 26th, 2009Those familiar with configuring batch command scripts in the Windows Server 2008 or Windows Vista Task Scheduler may be a little perplexed in how to run PowerShell scripts from the scheduler. The main difference is in the Action form parameters…
Program/script: Set to the PowerShell.exe path. This is typically C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.
Add arguments: -nolog -command “&{D:\Scripts\MyScript.ps1 Param1 Param2}”. Note that [...]
DROTHISM
Resetting an iPod
Posted by Drothism on Feb 25th, 2009To reset an iPod Generation 4 device, toggle the hold button back and forth. If this does not work, hold down the menu button and the center of the circle for at least 6 seconds, until the apple logo appears.
DROTHISM
Task Scheduler Syntax
Posted by Drothism on Jan 21st, 2009Schtasks.exe
Enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote computer. Running Schtasks.exe without arguments displays the status and next run time for each registered task.
DROTHISM
30 second TIVO Ad Skipping
Posted by Drothism on Oct 20th, 2008Looking for an even faster way to skip ads with your TIVO DVR? If you have a TIVO you probably already fast forward through most commercials, but find yourself talking or getting distracted by something and whizzing way past where you want to.
This quick hack requires nothing more than a few button presses on your [...]
DROTHISM
How to Record Hulu Shows for Offline Viewing
Posted by Drothism on Oct 15th, 2008Web services like Hulu and Fancast are great for watching shows online. But what if you’re on a plane or otherwise disconnected from the Internet? Can’t you download shows for offline viewing on, say, a PC or iPod?
Unfortunately, Hulu, Fancast, and similar video-on-demand services don’t allow you to download their media. Instead, it’s streamed in [...]
DROTHISM
Skip Ads Easily With a Standard Cable Remote Control
Posted by Drothism on Oct 15th, 2008Many Motorola-made DVRs that cable-TV providers supply are unable to skip ads by jumping ahead 30 seconds. But you can remap the remote control to add this feature. I got it working with a Comcast remote, and it will likely work with your cable company’s remote, too.
Press the Cable button at the top of the [...]
DROTHISM
USB Popcorn Maker
Posted by Drothism on Sep 28th, 2008So many USB hacks and so little time! This home brewed USB powered popcorn maker is one of the best inventions I have seen!
DROTHISM
Outlook Express Closes Immediately
Posted by Drothism on Sep 12th, 2008If you are experiencing Outlook Express closing immediately when you start it, the problem may be related to McAfee Security Center anti-spam features. Despite numerous hours dealing with McAfee’s atrocious Indian support center they were unable to help. The only solution that I could devise was to disable the anti-spam feature in McAfee Security Center.
Here [...]
