Private/Install-UpdatesInProfile.ps1
function Install-UpdatesInProfile { $RebootSchedule = [datetime](get-date).AddDays(1).Date.ToString('MM/dd/yyyy HH:mm', [cultureinfo]::InvariantCulture) $Script:Results = Install-WindowsUpdate -NotCategory "Drivers","FeaturePacks" -AcceptAll -ScheduleReboot $RebootSchedule -confirm:$False } |