Discussion vmware-vmrc console

  • Tuesday, July 12, 2011 11:33 AM
     
     
    I am working on a project that is similiar to Mircosoft Virtual Lab. I have created a .aspx (C#) webpage that is able to run powershell script to launch vmware-vmrc console.  When the webpage is deployed and run on my own computer, the console did appear on my screen. But when i try to publish my solution in a (IIS) server and access the website on another pc, the webpage work well but console do not appear on the screen.
    As far as i know, powershell script is running on the server and not on the client. I will like to know is there any way to launch the console if my solution/programme is build in the server or how do i put my console into a webpage like how mircosoft is doing

    Powershell Script
    -----------------
    $name = $env:COMPUTERNAME
    $ports = ":8333"
    $hostname = $name + $ports
    $vms = "*VM*"
    $vm = get-vm $vms
    $vmid = $vm.id
    $gvm = Get-View $vmid
    $vmrc = "C:\Program Files (x86)\Common Files\VMware\VMware Remote Console Plug-in\vmware-vmrc.exe"
    $vmrcargs = '-h ' + $hostname + ' -m "' + $gvm.Config.Files.VmPathName + '"'
    [Diagnostics.Process]::Start($vmrc, $vmrcargs)

    • Edited by Tan Jun Hao Wednesday, July 13, 2011 3:44 PM
    •  

All Replies

  • Tuesday, July 12, 2011 1:38 PM
     
     
    Duplicate thread.  Please lock.
    Colin Barnhorst Windows 7 Ultimate x64 on DIY with 6GB ram.
  • Wednesday, July 13, 2011 3:51 PM
     
     
    how to i delete or lock it. i new to this forum.
  • Wednesday, July 13, 2011 5:23 PM
     
     
    The comment was addressed to the moderators.  You can delete your own posts with the Delete button (red X) at the foot of the postingSame place as Reply, Quote, and Edit.
    Colin Barnhorst Windows 7 Ultimate x64 on DIY with 6GB ram.