replaced execs with powershell provider

Exec has been updated to use the powershell provider.