Hi Luc,
Any chance you might be able to see where I'm going wrong here, I need to overwrite a txt file within a guest with this value "e:\testfile.dat 8 0x0 11000"
$guestvms = "flash3"
$myscript = "e:\testfile.dat 8 0x0 11000 | Out-File C:\SQLIO\param.txt"
Invoke-VMScript -VM $guestvms -ScriptText $myscript -GuestUser administrator -GuestPassword Password