You can write scripts that combine PowerCLI cmdlets and Mirage PowerCLI cmdlets in a single PowerShell session.


  1. Install PowerCLI
  2. Unzip the file to the PowerCLI module directory. .

    The default directory path is C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules, and the folder is VMware.Mirage.Cmds.

  3. Access Microsoft PowerShell and import the necessary modules.

    The Import-Module VMware.Mirage.Cmds command imports the Mirage PowerShell module.

    The Import-Module VMware.VimAutomation.Core command imports the vSphere PowerShell module.