Suppress "Warning: Automatic update is not enabled..." when installing Windows role or feature with Powershell RRS feed

  • Question

  • I've written a powershell script to prep server for SCCM 2012 and the only annoyting thing I can't seem to get rid of is the yellow warning message that appears as a result of installing new Windows roles/features.  The specific message is: "Warning: Automatic updating is not enabled.  To ensure that your newly-installed role or feature is automatically updated, turn on Windows Update."

    Is there an "undocumented" silent switch that I can append to the "Install-WindowsFeature" command-let that suppresses this?

    Thanks for any guidance anyone has found for this.


    Thursday, July 3, 2014 1:53 PM