Reply to Message

View discussion in a popup

Replying to:
Mephesto
Contributor
Contributor

Rename a PortGroup

Hello

A requirement has arisen in our estate where an area needs to have a portgroup renamed. We have a one-size-fits-all configuration script that will continue to be used without amendment but the idea is to have a secondary script that will be run later when the host is known to be headed for this other area. Unfortunately this other area wants their portgroups to be renamed differently from the "standard". I am quite happy adding new groups and removing surplus ones but I am not so good with renaming. The UpdatePortGroup Method would appear to support the changing of a name but I haven't been successful in getting it to work. I am sure it is down to my syntax and setting up of the parameters so any guidance that people could give me would be appreciated.

Thanks

James

Reply
0 Kudos