One or more steps can be added to the Recovery Plan that are defined to run a "Command on SRM Server" at the recovery site. The command will be run from Windows so it is by default not run as a Powershell command.
In addition scripts can be assigned to an individual VM by configuring "Pre Power On Steps" and/or "Post Power On Steps" in the VM Recovery Properties. These scripts can be run as a "Command on Recovered VM" or as a "Command on SRM Server" at the recovery site.