By Pranay Jha
| May 4, 2016 | In Tips
| Total Views [ 453 ]
# VCenter you are connecting too
$vcserver = "vc01"
# Loop to make changes to Network Adapter from List of Servers that needs to be changed
$serverlist = Get-Content "C:\Users\pranay\Desktop\vlan.txt"
ForEach ($server in $serverlist)
$NIC = Get-NetworkAdapter -VM $server
Set-NetworkAdapter -NetworkAdapter $NIC -NetworkName "VLAN100"
Share this on Social Media
About the Author
My name is Pranay Jha, working in IBM as Technical Solution Architect for Virtualization platform. I have been working in IT for near around 11 years. Passionate to get involved as an Independent blogger for my blog http://vmwareinsight.com. I am carrying few industrial certifications as VMware vExpert 2016/2017, VCIX6, VCAP6-DCD, VCAP5-DCD/DCA, VCP6-DCVVCP5-DCV, VCA-Cloud, VCE-CIA, VSP, MCSE, MCITP, MCSA(Messaging).
For any query or suggestion, please connect me at email@example.com. Thanks for visiting here.