Changed powershell exec resources and some refactoring

The exec resources that called powershell, now they use the powershell provider.
Merge pull request #10 from luisfdez/feature/use-powershell-provider

Changed powershell exec resources and some refactoring