Automate deployment of Service Fabric project without TFS or VSTS
<p>I know you can <a href="https://azure.microsoft.com/en-us/documentation/articles/service-fabric-publish-app-remote-cluster/" rel="nofollow">publish a Service Fabric application</a> written in C# using Visual Studio, and I have read this article on <a href="https://azure.microsoft.com/en-us/documentation/articles/service-fabric-set-up-continuous-integration/" rel="nofollow">using TFS or VSTS</a> to set up continuous integration DevOps builds of a Service Fabric application.</p>

<p><strong>How can I just do this all manually using PowerShell?</strong> I know I can do the following using PowerShell from <a href="https://azure.microsoft.com/en-us/documentation/articles/service-fabric-automate-powershell/" rel="nofollow">this article on deployment</a>:</p>

<ul>
<li>Use Visual Studio to package the project.</li>
<li>Transfer the package to a remote server.</li>
<li>Use the PowerShell script examples in the article to deploy the package while I am in the context of the remote server.</li>
</ul>

<p>Instead, here are two bits I can't seem to figure out which would assist me in doing this from PowerShell:</p>

<ul>
<li>Using PowerShell, how can I package my Service Fabric project the same way you can when you are in the context of Visual Studio?</li>
<li>Using PowerShell, how can I remotely deploy my Service Fabric project the same way you can when you are in the context of Visual Studio?</li>
</ul>