Copy Exchange 2010 Receive Connectors

In deploying a new Exchange 2010 server I found myself needing to duplicate a receive connector with about 20 different IP entries. Being lazy (or as Terence called it; efficient), I started googling and found this post by Terence Luk. His procedure works, but I figured there had to be a faster way. After a few minutes of fiddling I managed to compress his technique into this one-liner: