Discussion:
Reboot command parameters
(too old to reply)
v***@gmail.com
17 years ago
Permalink
My C# application uses WMI gives a remote reboot command to a windows
server and the reboot works fine. I want to be able to specify that
this is a planned reboot and be able to specify the reason for reboot
while issuing the command. Can I do this by passing arguments using
WMI ManagementObject's invokemethod(), Can someone get back with an
example?

Thanks much in advance.

Viji
v***@gmail.com
17 years ago
Permalink
Post by v***@gmail.com
My C# application uses WMI gives a remote reboot command to a windows
server and the reboot works fine. I want to be able to specify that
this is a planned reboot and be able to specify the reason for reboot
while issuing the command. Can I do this by passing arguments using
WMI ManagementObject's invokemethod(), Can someone get back with an
example?
Thanks much in advance.
Viji
I managed to issue a command line reboot and passing all arguments
from my program.
Would still like to know how to do this with WMI.

Thanks
Viji

Loading...