結果 : write a powershell script file