Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

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

$
0
0

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.

jcl


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>