wmic
path win32_networkAdapter where "MACAddress like '00:1F:29:89%' and
DeviceID is not NULL" get * /format:list
wmic nicconfig where index= DeviceID call enablestatic("192.168.16.4"), ("255.255.255.0")
wmic path Win32_NetworkAdapterConfiguration where index=7 call enablestatic("192.168.16.4"), ("255.255.255.0")
沒有留言:
張貼留言