Test that a Powershell script is executed.