Once the port profile is applied in the 1000V, it should create a corresponding vSphere DVPortgroup. From there, you just need to reconfigure it. distributed virtual portgroups have an extra requirement vs standard network portgroups.
Take a look at this sample script WIlliam Lam wrote - updateVMPortgroup.pl
If it doesn't work for your needs, drop a note and we can update it. I think it's a bit old and I remember creating some fix for older vSphere versions, which shouldn't be necessary now.