title: Service Fabric Restart Application
body: <p>I have a service fabric app that reads from KeyVault on startup. When we change the KeyVault value we have to restart the nodes for it to read the new value. This causes the other applications on the same node to go down.</p>
  
  <p>I am trying to write a PowerShell script to restart the service fabric application I have got the following script working on a 1 node cluster however it does not work on multiple node cluster.</p>
  
  <pre><code>Restart-ServiceFabricDeployedCodePackage -ApplicationName $appName -CommandCompletionMode Verify -ServiceName $ServiceName -TimeoutSec 8000
  </code></pre>
  
  <p>When I have a multiple node cluster this does not work. I can't figure out why it will not work.</p>
  
  <p>Am I doing something wrong?</p>