By Pranay Jha
| May 4, 2016 | In Tips
| Total Views [ 558 ]
# 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"
Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am also an Independent blogger and founder of Vmwareinsight.com. I can be reached via email at firstname.lastname@example.org or Direct Message via Contact Us form.