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

Procedure

  1. Install vSphere PowerCLI
  2. Unzip the Mirage_PowerCLI.zip file to the vSphere 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.