Hi @Mike-Rodrick. I tired those two commands you have shown in your screenshots. I get an error message on both. I had tried running the script in the same directory as the source files with no luck and also tried running it in the Windows\system32 as shown in your example.
I will send you a copy of my script actually i found online but get errors with that as well.
The only way i can get it to run on the machine through a batch file running the dism command. You will see that it shows the source of the files going to the server. is there a way to do that in powershell? I tried copying and pasting the source in powershell but no luck.
If i run the script on a test vm that i have it works fine from the cmd line or running the batch however when i try it in sccm it fails. I think i know what the issue is. You need to run it as an administrator but i am trying to get around that. With powershell you can run as system and it gives you elevated permissions in Sccm. Maybe thats something @Adam-Gordon can suggest something for me.
Maybe you can figure out what is wrong with the PS script and add the sources line in there as well.
When i get the time i am going to take your PS course in-depth. Sorry i have limited knowledge in PS right now.