結果 : powershell function write to log file