You can write scripts that combine PowerCLI cmdlets and Mirage PowerCLI cmdlets in a single PowerShell session.
Procedure
- Install PowerCLI
- Unzip the Mirage_PowerCLI.zip 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.
- 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.