working on #742 - powershell support for file write on MSSQL