How to run a PowerShell script inside a Unit Test Method

Recently, a customer had the request of  creating sanity tests to validate driver builds they were working on against the latest builds from Microsoft. The scope of the tests needed to be high level, so Coded UI tests worked for the most part to drive the test from a UI level. Some tests, though, could…