I have been trying to get this to work using the Install-MSUpdates function and it simply doesn’t not install the .msu file. RSAT .msu file is also not named with “KB” in the name, so it seems to get looked over when scanning the $dirFiles directory.
Can anyone provide guidance on how to properly install RSAT for WIndows 10 using the toolkit, and how to properly uninstall it as well. I don’t see any “Uninstall-MSUpdates” function.
It looks like Exit Code 2 means it can’t find the MSU file. Did you escape the inner double quotes in the parameter section with backticks? The forum seems to remove them, although I’ve seen some people make it work, I haven’t figured it out yet… In the code below, just replace BT with the actual backtick `.
Unfortunately, no luck using the syntax you’ve provided but after some trial and error I finally figured out the proper syntax to make it work, please see below. Thanks much for the advice!