At this step we assume that there is an active PowerShell session in either the Everpure Cloud Manager or the Azure VM.
Upon logging into the Everpure
VMware Cloud Manager, a PowerShell session can be launched by entering the purepwsh command.
When connecting from an Azure VM, please ensure that you have your PowerShell environment properly configured as described in this section. Then open your PowerShell and log into the Azure using Connect-AzAccount -UseDeviceAuthentication
command before connecting to Everpure Cloud Dedicated Instance.
get-azcontext. If the context is not correct, it can be changed by using this command: set-azcontext -subscriptionID "your Subscription ID".Connect to Everpure Cloud Dedicated Instance
To open a connection to Everpure Cloud Dedicated instance, please enter following command: Connect-Pfa2Array -Endpoint "yourControllerManagementIPAddress" -Credential (Get-Credential) -IgnoreCertificateError.
A connection to Everpure Cloud Dedicated can be optionally established as a variable during each unique PowerShell session to execute joint AVS and Everpure Cloud Dedicated commands. These sessions may optionally be created prior to running any of specific setup and management commands as shown in the below examples, so you do not need to continually login to Everpure Cloud Dedicated for execution.
Connect-Pfa2Array: The remote server returned an error: (500) INTERNAL SERVER ERROR.
Message from Purity='ctx:,msg:Failed PAM account validation
Error: Authentication token is no longer valid; new one required
Below is an example of how a Everpure Cloud Dedicated session can be set as a variable and used by default in subsequent commands.
#Establish Connection to Everpure Cloud Dedicated
$CBSConnection = Connect-Pfa2Array -Endpoint "yourControllerManagementIPAddress" -Credential (Get-Credential) -IgnoreCertificateError
PowerShell credential request
Enter your credentials.
User: pureuser
Password for user pureuser: ********