![]() I want to note that I am using NinjaOne (formally NinjaRmm) to deploy this script using domain admin credentials. I FINALLY figured out how to get this to work with some help from this thread. I know this is older, but hopefully this helps someone. I ran the installer against strings64 and found the following switches in the output, but none of them appear to prevent the restart, and in fact there are fewer in here than I have with the code above that I got from a web site: /PushĪnyone know if there's an undocumented switch I can use to force the app to prompt the user if logged in and restart with no prompt if no one is logged in? I'm trying to avoid the loss of work/data where possible. Start-Process -FilePath $file -ArgumentList '/quietinstall /skipeula /auto upgrade /copylogs $dir' ![]() The core section is: $dir = 'C:\_Windows_FU\packages' ![]() I've got a powershell script that downloads and runs the Windows 10 Update Assistant to get our laptops onto the latest Feature Update, problem is with this script it doesn't prompt the user, it just restarts the laptop without prompt. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |