Forum Moderators: open
If not, is there a component that does this?
I'm building a network appliance and it would be nice if I could get 100% of the administration, including physical server settings, all on the web pages.
Safe? Maybe. Possibly. But still really, really scary.
The required techniques range from custom code, to activex objects, to shelling out to commandline tools. It all depends on what setting you want to change. But, *everything* can be changed. You just have to give the web interface enough juice and capabilities. Oh, and you have to know where to effect the change.
Stopping/Starting Services
Rebooting
Changing the Server IP address/subnetmask/gateway/DNS settings (or toggle between static IP and DHCP)
etc.
Changing Passwords for Active Directory users
I've been researching and experimenting with this all day and it looks like the winmgmts object can do everything I need to do, but one thing I haven't found in there yet is how to display the current IP address information for a network card. I figured out how to change it, but not how to display it. Anyone have any ideas?
If it's another machine, you can do it any number of ways, but to monitor the box, you're going to need to know either the IP address of the box or the name before you connect to it, so either you already have the IP or you get it via WMI.
Chip-