Would you like to change DNS server configuration in Windows XP workstations in a fixed IP address environment using ZENworks? You can publish a ZENworks application with the next command:
CMD /K "netsh interface ip delete dns "Local Area Connection" <old_IP_of_DNS_server> || netsh interface ip add dns "Local Area Connection" <new_IP_of_DNS_server>"
Note in another codepages (i.e. Spanish) some special characters (accents) of native translation of "Local Area Connection" do not match. You can write them with EDIT of Console and save it. Next, you can open file with Windows NOTEPAD and Copy/Paste in ZENworks application properties.
Also, note this is for an environment of workstations with only one NIC. If there are two or more NICs, they'll be named "Local Area Connection 2", "Local Area Connection 3", etc., and the script fails.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.