The APEX Cloud Platform PowerShell Modules enable you to install Azure Stack HCI OS on the hosts and deploy a APEX Cloud Platform for Azure cluster using PowerShell cmdlets. Each public API has a corresponding PowerShell cmdlet included in the ACP Azure PowerShell modules.
You can install the modules using either of the following methods:
- Import the modules manually using the standard PowerShell commands.
- Import the modules using the installer.
- Extract the module contents to the following directory: C:\Program Files\WindowsPowerShell\Modules.
- To import the module, run the following command from PowerShell:
Import-Module APEXCP.Azure.API
- To confirm that the module has imported successfully, run the following command and modules with name containing “APEXCP.Azure.API” should be listed
Get-Module
- Extract the modules into a folder.
- Go to that folder and run
.\install.ps1
- When prompted with “Will remove all APEXCP modules, do you want to proceed?”, type Y or y.
Commands are available for the following modules:
- APEXCP.Azure.API.SysBringup
- APEXCP.Azure.API.Certificate
Following is an example of listing the commands for the APEXCP.Azure.API.SysBringup module:
Get-Command -Module APEXCP.Azure.API.SysBringup
To list all the commands available for all modules, run:
Get-Command -Module APEXCP.Azure.API.*
To show help information for a command, run:
Get-Help <Command_Name>
For example, Get-Help Start-SystemBringup