Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Information about Virtual Machine on a Remote Virtual Server

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,40105
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Information about Virtual Machine on a Remote Virtual Server
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Information about Virtual Machine on a Remote Virtual S... - 11/27/2006 7:45:26 PM   
  swejch

 

Posts: 2
Score: 0
Joined: 5/15/2006
Status: offline
Hi

I would like to know how to run a VBScript to list informations about Virtual Machines on a remote Virtual Server.

Regards
Frasse
 
 
Post #: 1
 
 RE: Information about Virtual Machine on a Remote Virtu... - 11/28/2006 12:07:01 AM   
  CaffeineAddiction

 

Posts: 144
Score: 0
Joined: 2/9/2005
From:
Status: offline
Well, this all depends on the following:

- Are you on the same domain as the Virtual Machine?
- Do you have Local Admin on the Virtual Machine?
- What OS is running on the Virutal Machine?

_____________________________

Thanks for Answering my Questions ... I hope my Answer to your questions help!

(in reply to swejch)
 
 
Post #: 2
 
 RE: Information about Virtual Machine on a Remote Virtu... - 11/28/2006 8:11:52 AM   
  swejch

 

Posts: 2
Score: 0
Joined: 5/15/2006
Status: offline
Thanks for answering my question.

Yes, They are all on the same domain and I have the local Administrator right on the Virtual Machine och Virtual Servers.
The Virtual Machine is running Windows 2003 Standard Server R2 and Virtual Servers are running Windows 2003 Enterprice Server R2.

Regards
Frasse 

(in reply to swejch)
 
 
Post #: 3
 
 RE: Information about Virtual Machine on a Remote Virtu... - 11/28/2006 9:04:57 AM   
  SAPIENScripter


Posts: 276
Score: 2
Joined: 11/1/2006
From: SAPIEN Technologies
Status: offline
Virtual Server has a COM interface that uses the VirtualServer.Application object.  However, you really need to run the scripts ON the Virtual server.  Ch 17 of Advanced VBScript for Microsoft Windows Administrators covers this topic.

_____________________________

Jeffery Hicks
Windows PowerShell MVP
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com

Follow Me: http://www.twitter.com/JeffHicks

(in reply to swejch)
 
 
Post #: 4
 
 RE: Information about Virtual Machine on a Remote Virtu... - 11/28/2006 2:55:50 PM   
  kirrilian


Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
there is also wmi classes you can use:

http://technet2.microsoft.com/WindowsServer/en/library/42634ea3-d0a8-4ea6-89aa-61d24f7ac25f1033.mspx?mfr=true
http://www.microsoft.com/technet/prodtechnol/virtualserver/2005/proddocs/vs_operate_using_perfTune_perfmon.mspx

example scripts (using the com method):
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
click the virtual server link

< Message edited by kirrilian -- 11/28/2006 3:03:10 PM >


_____________________________

Have you searched here ?
VBScript Fundamentals
My Site

(in reply to SAPIENScripter)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Information about Virtual Machine on a Remote Virtual Server Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts