Bonjour à tous,
J'ai un script vbs qui me liste tous les "Guid" (Identifiants) de mon interface réseau, mais moi je suis interessé juste par le deuxième Guid qui m'affiche, étant donné qui' il ya quatre en tous.
Avez-vous une idée comment ?
Voici mon code:
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\microsoft\homenet") Set colItems = objWMIService.ExecQuery _ ("Select * from HNet_ConnectionProperties") For Each objItem in colItems MsgBox "Connection: " & objItem.Connection Next
Partager