Is there a way (from the command line) to assign a static ip and name assignment to an ethernet adapter based on the PCI bus/device/function number of the NIC? I am able to do this with the netsh CLI using the name that windows assigns it as such:
netsh interface ip set address name="Ethernet 5" static 192.168.xxx.xxx 255.255.255.0 netsh interface set interface name = "Ethernet 5" newname = "Example"
But relying on the ethernet label is not going to work in my case, so I'm looking to do this based on the PCI address of each one. I haven't been able to find much information on it, so any suggestions would help.