When you use a VSS portgroup, the Portgroup property is indeed just s string.
Place the name of the Portgroup in there, not the Key
Note: you can not use the DistributedVirtualPort property when you use the Portgroup property
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference