Create Custom Activity Using Powershell

See if this this clue Helps ?

Per that link,

For custom activities and code, only .NET(VB, C#)

You can also use activities like, inject JavaScript, to execute other scripts. We have support for JavaScript, powershell at the moment.