title: PowerShell How to suppress error messages
body: <p>Whenever I run Update-Help, I get tons of errors. I've given up trying to resolve these, it's just how PowerShell works, some help file definitions <em>always</em> fail to update (but if anyone knows how to resolve these I would be interested to try).</p>
  
  <p>So, I want to suppress the errors from my script that updates this stuff every month.</p>
  
  <p>I've tried <code>Update-Help -EA silent</code> and <code>Update-Help -EA silent | Out-Null</code> but in both cases, the error messages are still sprayed on the screen in red.</p>
  
  <p>Does anyone know hot to suppress these?</p>
  
  <pre><code>Update-Help : Failed to update Help for the module(s) 'AppvClient, ConfigDefender, Defender, HgsClient, HgsDiagnostics,
  HostNetworkingService, Microsoft.PowerShell.ODataUtils, Microsoft.PowerShell.Operation.Validation, Sudo, UEV, Whea,
  WindowsDeveloperLicense' with UI culture(s) {en-GB} : Unable to connect to Help content. The server on which Help content is stored
  might not be available. Verify that the server is available, or wait until the server is back online, and then try the command again.
  At C:\Users\Boss\AppData\Local\Temp\BeginSystemConfig.ps1:571 char:9
  +         Update-Help
  +         ~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand
  
  Update-Help : Failed to update Help for the module(s) 'WindowsUpdateProvider' with UI culture(s) {en-GB} : Unable to retrieve the
  HelpInfo XML file for UI culture en-GB. Make sure the HelpInfoUri property in the module manifest is valid or check your network
  connection and then try the command again.
  At C:\Users\Boss\AppData\Local\Temp\BeginSystemConfig.ps1:571 char:9
  +         Update-Help
  +         ~~~~~~~~~~~
      + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
      + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
  </code></pre>