If using a portgroup you need to change lines 271 and 272 from "-NetworkName" to "-Portgroup" or warnings will show up as the ability to edit portgroups with networkname has been deprecated. I could not validate if errors are issues were caused but the warning disappeared after the change.
If using a portgroup you need to change lines 271 and 272 from "-NetworkName" to "-Portgroup" or warnings will show up as the ability to edit portgroups with networkname has been deprecated. I could not validate if errors are issues were caused but the warning disappeared after the change.