Great tool Don! However, after setting the execution policy in PS the Get-NetConnectionProfile and Get-NetAdapterBinding commands error out. It doesn't matter if the script is run in a W10 or Server 2019 machine. The way you have those commands structured appear to be unique to our machine. I will have to adapt the script to be more compatible with my machines. Thanks!
Nevermind Don. I retract my comment to just read "Great Tool Don!" It appears for those lines of PS code to work correctly, the NIC cards have to be connected to a network. Left unconnected, the commands generate an error. The PS code could be modified so that you could harden the machine before being connected to a network. I will have to look into that later. Thanks again.
@@anthonyrau9844 Thank you, sir. I would expect that most systems will be connected to a network. But that is a good find. Please take a moment and write this up as an issue on GitHub. That will remind me, or someone else, to take a look at it.