Yep, I believe that is it. Nothing to be sorry about as I probably should have stated that in the article or the script. It may work if you just change Invoke-Command to -ComputerName localhost. I would have to do some testing though.
No thats exactly what is going on and what I was starting to look at yesterday. This script is and will be ran from the MDT server itself going forward. So I'm guessing I would need to update the script to remove the Invoke commands and instead just run them as if it was a normal script executing on the box? Sorry my PS skills are lacking in some areas. 🙂
Windows Server 2016 Install Windows Server 2016 and choose the Desktop Experience installation option. If a computer is running Windows Server 2016 Core mode and you want to install Exchange 2016 on it, you'll need to reinstall the operating system and choose the Desktop Experience installation option.