From 723acfd8116f688cfb24134bc1f23d09afa181e4 Mon Sep 17 00:00:00 2001 From: William Lam Date: Tue, 25 Jun 2019 05:43:05 -0700 Subject: [PATCH] Fixing typo in function name --- Modules/VMware.HCX/VMware.HCX.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/VMware.HCX/VMware.HCX.psm1 b/Modules/VMware.HCX/VMware.HCX.psm1 index 781e0fe..9bfcc18 100644 --- a/Modules/VMware.HCX/VMware.HCX.psm1 +++ b/Modules/VMware.HCX/VMware.HCX.psm1 @@ -1645,7 +1645,7 @@ Function Set-HCXCloud { $HcxSid = (Get-HCXCloudSubscription | where {$_.STATUS -eq "ACTIVE"}).SID # Check to see if there is an available HCX-Cloud Key - $HcxKey = ((Get-HCXCloudActivationKeys -Type AVAILABLE | where {$_.systemType -eq 'hcx-cloud'}) | select -First 1).activationKey + $HcxKey = ((Get-HCXCloudActivationKey -Type AVAILABLE | where {$_.systemType -eq 'hcx-cloud'}) | select -First 1).activationKey if($HcxKey -eq $null) { $HcxKey = New-HCXCloudActivationKey -SID $HcxSid -SystemType HCX-CLOUD }