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)