Bonjour !

Je recherche un script batch permettant de trouver automatiquement sa Network Interface Card (pour ajouter des REG dedans) via un script Batch, c'est possible ?

PS: je sais comment trouver la MAC-id:

Code Batch : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
@For /f %%a in ('getmac /NH /FO Table') do  (
    @For /f %%b in ('echo %%a') do (
        If /I NOT "%%b"=="N/A" (
            Set "MY_MAC=%%b"
        )
    )
)