VMware Cloud Community
m_pahlevanzadeh
Enthusiast
Enthusiast
Jump to solution

Assign a PortGroup to a Interface of Network adapter(powercli)

I created a VM with Powercli,

I have 3 portgroups. How can I assign my portgroup to an interface via powercli?

 

 

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the Set-NetworkAdapter cmdlet with the Portgroup parameter.

See Example 4


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

2 Replies
scott28tt
VMware Employee
VMware Employee
Jump to solution

Expect a moderator to move your thread to the PowerCLI area now that I have reported it.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

You can use the Set-NetworkAdapter cmdlet with the Portgroup parameter.

See Example 4


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference