Well, I finally came up with a way to clear out a file:

 Code:
Break On

$oFSO = CreateObject("Scripting.FileSystemObject")
$oFile = $oFSO.OpenTextFile(@ScriptDir + "\Test.txt", 2)

$ = $oFile.Write("")
$ = $oFile.Close()

$oFile = "Nothing"
$oFSO = "Nothing"


I would prefer not to use a FSO object for this, but if nothing else works then this will have to do.