TeamCity version 7 or later
See TeamCity documentation for installation instructions
You download the plugin using this link.
Agent
See Installing PowerShell components