Defragmentation: defragment servers remotely with WMI

xplogoDefragmenting servers can be quite a time-consuming task if you have plenty of servers and plenty of disks. Most system administrators will have scheduled tasks on every server to defragment every month or so. A disadvantage of this way of working is the lack of overview what servers need to be defragmented. Microsoft’s Scriptcenter has a solution for this ‘problem’: Defragment all servers from one location with WMI. When running the script, it gives you return codes so you know the result of each defragmentation.

The WMI script to defragment remote servers, as well as some background information, can be found at Microsofts page Defragmenting Disks the Windows 2003 Way

Leave a Reply

Be the First to Comment!

Notify of