PSWindowsUpdate
1 TopicPowershell Declaring XML in ModuleBase
I am automating Windows Updates on remote servers. I am using the PSWindowsUpdate module to make the updates. My question is regarding this error: Install-WindowsUpdate : Missing SmtpServer; Use -PSWUSettings or declare PSWUSettings.xml in ModuleBase path. I created the required PSWUSettings.xml file in the "C:\Program Files\WindowsPowerShell\Modules\PSWindowsUpdate" folder but I can't get the Install-WindowsUpate command to use it. My question is then how do I 'declare' the PSWUSettings.xml file for the Install WindowsUpdate command to reference? Thanks for your help.Solved2.9KViews0likes6Comments