Skip to main content

2025년 6월 20일

Run Example Horizon PowerCLI Scripts

You can use example scripts that invoke Horizon APIs and use these scripts to perform administrator tasks. You can also modify these scripts to perform administrative tasks based on your requirements.

Prerequisites

  • Complete the steps to install Omnissa Horizon PowerCLI and set up the Horizon PowerCLI module. See, [Set Up the Horizon PowerCLI Module](SetUptheHorizonHorizon PowerCLIModule.md).

Procedure

  1. Download the Hv.Helper module from the Modules section at [https://github.com.Horizon PowerCLI-Example-Scripts](https://github.com/Horizon PowerCLI-Example-Scripts).

  2. Use the $env:PSModulePath command to find out the modules path in your Windows PowerShell session and copy the Hv.Helper module to that location.

  3. Use the following command to load the Hv.Helper module into your Windows PowerShell session and start using the scripts.

     Get-Module -ListAvailable 'Hv.Helper' | Import-Module; Get-Command -Module 'Hv.Helper'
    

이 페이지가 도움이 되었나요?

이 항목에 대한 피드백 보내기

이 항목이 도움이 되었나요?

개인정보나 기밀정보는 입력하지 마세요.

링크를 생성하는 중…