I wrote an answer on SO with some PowerShell code examples, but there's no syntax highlighting. There are currently 10,898 [as of 07/10/2013] questions tagged powershell on StackOverflow. Please add prettified syntax highlighting to Powershell questions.
These are the one's I experimented with in my original testing, IMO the first one would be the best option.
<!-- language lang-ps-->
<!-- language lang-ps1-->
<!-- language lang-powershell-->