Here you have very nice tutorial how to handle with PowerShell with Invoke PowerShell activity:
Invoke PowerShell