Significantly speeds up highstate on windows by reducing the calls to query all services.
re-adds has_powershell()
Merge pull request #18853 from thematthopkins/windows_service_speed_up

Significantly speeds up highstate on Windows by reducing the calls to query all services.