I am trying to write a script to defragment a pc and other simple task but i do not know how to start.