Short posts about Microsoft PowerShell as I learn, trying to focus on one aspect at a time.
Friday, October 31, 2008
Defrag Your Servers Remotely with PowerShell
Another quick and dirty script. I've got a couple servers that are running applications that suffer from disk thrashing, and are running Windows Server 2003. A defrag tends to noticeably increase performance. With this script I can kick off a defrag from my desk whenever I want.