Cmdlet is running remotely. Read the output in the form of bytes and write to your local file. For example: Export-CsConfiguration ...