From 90f0b566466d34fbad9ec03061b5b0244bd3755f Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 8 Dec 2023 09:57:28 +0100 Subject: [PATCH] VM: Add support of 6.12 on ValidateSet --- PowerArubaCP/Public/VM.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerArubaCP/Public/VM.ps1 b/PowerArubaCP/Public/VM.ps1 index afc30b6..c1e7293 100644 --- a/PowerArubaCP/Public/VM.ps1 +++ b/PowerArubaCP/Public/VM.ps1 @@ -194,7 +194,7 @@ function Set-ArubaCPVmFirstBoot { [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")] Param( [Parameter (Mandatory = $true)] - [ValidateSet("6.8", "6.9", "6.10", "6.11")] + [ValidateSet("6.8", "6.9", "6.10", "6.11", "6.12")] [version]$version, [Parameter (Mandatory = $true)] [ValidateSet("CLABV", "C1000V", "C2000V", "C3000V")] @@ -311,7 +311,7 @@ function Set-ArubaCPVmSetup { Param( [string]$name_vm, [Parameter (Mandatory = $true)] - [ValidateSet("6.8", "6.9", "6.10", "6.11")] + [ValidateSet("6.8", "6.9", "6.10", "6.11", "6.12")] [version]$version, [Parameter (Mandatory = $true)] [string]$hostname,