title: Powershell Invoke-GPUpdate - "No Logoff" possible?
body: <p>Looking to run <code>Invoke-GPUPdate -force</code> to a group of remote computers and respond to the logoff prompt with &quot;No&quot;.</p>
  <p>Tried:</p>
  <pre><code>Echo &quot;n&quot; | invoke-gpupdate
  </code></pre>
  <blockquote>
  <p>Error:Invoke-gpupdate does not accept pipeline input</p>
  </blockquote>
  <p>Command Used:</p>
  <pre><code>Invoke-GPUpdate -Computer $computer -RandomDelayInMinutes 0 -force
  </code></pre>
  <p><img src="https://i.stack.imgur.com/zGDkK.png" alt="Picture of Logoff response to GPUpdate" /></p>