Update 54 Virtual Machines with incorrect OS Configuration.ps1

Changes made to optimize running time of module query on larger environments. Changes reduced running time in my environment from 575 seconds to 125 seconds