set $PSDefaultParameterValues['out-file:width'] = 2000 before using Out-File