Ben Armstrong of the Hyper-V team just released (on the TechNet Wiki) a v2 namespace porting guide.
To all of my DevOps and developer friends out there, this is a highly useful guide. Because if you have not noticed, moving from the v1 namespace to the v2 is not a simple change of the namespace.
And if you have not heard yet, the v1 namespace is GONE with the 2012 R2 release.
So, spend some time over at the TechNet Wiki page;
and then go over to Taylor Brown’s blog and check his updates of his v1 namespace examples to the v2 namespace: