This script will scan all NICs in the system which have an IP address configured, it will then rename each of them to the corresponding name you define in the script.

It is using WMI so it is compatible with PS 2.0 and up.

Configure the script:

if ($NIC.IPAddress -match "192\.168\.2\.\d{1,3}") {Rename-NIC $index "Vlan 12"}

You only need to modify the portions in red.
-match is a regex filter

PowerShell
Edit|Remove
Function Rename-NIC($findex,$fname){ 
    $wmi = Get-WmiObject -Class Win32_NetworkAdapter -Filter "DeviceID = $findex" 
    $wmi.NetConnectionID = $fname 
    $wmi.Put() 
} 
 
$NICS = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName . 
 
Foreach ($index in $NICS.Index) { 
 
    $NIC = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -ComputerName . | where {$_.index -eq $index} 
 
        if ($NIC.IPAddress -match "192\.168\.2\.\d{1,3}") {Rename-NIC $index "Vlan 12"} 
        if ($NIC.IPAddress -match "192\.168\.211\.\d{1,3}") {Rename-NIC $index "Vlan 13"} 
        #You can add as many lines as you want 
        #Only modiy the regex expression and the name (Vlan #) 
 
}