ticketmaster / poshspec

Infrastructure Testing DSL running in Pester
MIT License
183 stars 32 forks source link

Additional Private Function: Test-RunAsAdmin #37

Closed michaeltlombardi closed 8 years ago

michaeltlombardi commented 8 years ago

Some configurations can only be checked by a process running as admin.

We should have a repeatable, usable private function which handles this so public functions requiring the test do not need to duplicate it.

I'll be submitting this with my existing (and refactored) PR shortly.