Home > Integrated Products > Microsoft HCI Solutions from Dell Technologies > Guides 22H2 and earlier > Preparing and Using SCVMM for Azure Stack HCI Network and Cluster Configuration > Adding Azure Stack HCI Cluster to VMM 2019
The following PowerShell commands can be run on the SCVMM server to add an existing Azure Stack HCI cluster to VMM 2019.
$runAsAccountName = 'Administrator'
$runAsAccount = Get-SCRunAsAccount -Name $runAsAccountName
$hostGroupName = 'S2DHosts'
$hostGroup = Get-SCVMHostGroup -Name $hostGroupName
$hostCluster = 'R740Cluster.hci.lab'
Add-SCVMHostCluster -Name $hostCluster -RunAsynchronously -VMHostGroup $hostGroup -Credential $runAsAccount -RemoteConnectEnabled $true
Once the job completes, verify that the cluster and cluster nodes are available in VMM.
Get-SCVMHostCluster -Name 'R740Cluster.hci.lab'