I am trying to write some code to change dns / wins via WMI now I have this code

Code:

$objWMI = GetObject('winmgmts:{impersonationLevel=impersonate}!//' + $strItem + '/root/cimv2:Win32_NetworkAdapterConfiguration')



I just need to know what query to run to get the addresses and what to run to actually do the change...I am pretty new to WMI coding and am just looking for pointers in the right direction.

Thanks~!


Edited by supermanzdead (2005-04-06 10:41 PM)
_________________________
~Mwah