Et script der viser ens macadresse, og kun macadressen.
Hej derudejeg har prøvet at lave følgende inde fra microsoft side,
men det lukker ned med det samme. har i nogen forslag?:
Set objShell = CreateObject("WScript.Shell")
Set objWshScriptExec = objShell.Exec("ipconfig /all")
Set objStdOut = objWshScriptExec.StdOut
While Not objStdOut.AtEndOfStream
strLine = objStdOut.ReadLine
If InStr(strLine,"Physical Address") Then
WScript.Echo strLine
End If
Wend
http://www.microsoft.com/technet/images/community/columns/scripts/images/sg100204_BIG.gif
http://www.microsoft.com/technet/community/columns/scripts/sg1002.mspx