Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Shutdown a virtual server

HTVi
TV Discussion Newsgroups

Shutdown a virtual server
Frank Pusch 4/19/2007 11:32:03 AM
Hi,
If I use the vbs script to shutdown a virtual server 2003 (see also
http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true)
the Guest system doesn't shut down, because on the console there is a
messages bos with question:
"Application popup: Windows : If you shut down this remote computer, no one
can use it until someone at the remote location manually restarts it.

Do you want to continue shutting down?"

But from WebInterface (Virtual Server) I can shut down the Guest OS.

How I can do this with vbs script?

Regards,
Frank Pusch





vbs script:
On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
Set objVM = objVS.FindVirtualMachine("Windows 2000 Server")

Set objGuestOS = objVM.GuestOS
objGuestOS.Shutdown()

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen