Resolving PowerShell TimeoutExceptions when using Export-CrmSolution (Dynamics 365/Common Data Service)

DevOps and Dynamics 365/the Common Data Service can go together like peaches and cream, with a bit of effort and utilisation of some community tools. And, as always, you may end up having to contend with pesky errors, such as one I had recently involving a TimeoutException...