vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
764 stars 608 forks source link

Launching an application headlessly on VMware Horizon server using PowerCLI #615

Open ravexina opened 1 year ago

ravexina commented 1 year ago

Is your feature request related to a problem? Please describe.

Hello,

I would like to submit a feature request, and I appreciate the opportunity to share my suggestion with the development team.

I kindly request an enhancement to that enables the seamless launching of applications on VMware Horizon and facilitates obtaining a web link to access that application session. Such functionality would greatly streamline automation efforts and provide increased flexibility for working with VMware Horizon applications.

I have extensively reviewed the REST API of VMware Horizon. Unfortunately, I haven't come across a suitable endpoint that fulfills this particular requirement. I have also explored the capabilities of the vmware-view utility, but it did not align with my objectives.

Questions:

  1. I'm curious to know if there are existing features or functionalities in PowerCLI or its scripts that already cater to launching an application on VMware Horizon, obtaining a web link to that session. If such capabilities exist, I would greatly appreciate any guidance or documentation to help me leverage them effectively.

  2. If the requested feature is not already available, I would be grateful for any suggestions or workarounds that could assist in achieving a similar outcome using PowerCLI or any of its helper libraries.

  3. As a Linux user with limited familiarity with PowerShell, I would greatly appreciate any step-by-step instructions or sample scripts that could help me navigate the process.

  4. If there are any alternative resources or forums where I can seek assistance or guidance on this topic, I would be delighted to explore those options as well.

Thank you kindly for your support and assistance!

Describe the solution you'd like

Ideally, I envision a solution where PowerCLI is providing a straightforward and automated method to launch applications and obtaining web links to that sessions.

Here's a description of the solution I would like to see:

  1. PowerCLI Cmdlets: Introduce dedicated PowerCLI cmdlets specifically designed for interacting with VMware Horizon applications. These cmdlets should offer functionality to query and launch applications, as well as retrieve session details.

  2. Application Launch Parameters: Enable the specification of application launch parameters through PowerCLI. This should include options such as application name, user credentials, and any additional required parameters to initiate the session.

  3. Session Web Link Retrieval: Provide a mechanism in PowerCLI to obtain the web link associated with the launched application session. This link should be accessible from any browser, allowing seamless access to the application session.

Describe alternatives you've considered

No response

Additional context

No response