param( [string]$vsVersion, [string]$buildType = "Release", [string]$arch = "x64")# Confirm input$validVsVersions = @("2015", "2017", "2019", "2022")$validBuildTypes = @("Debug", "Release", "Release-MD", "MinSizeRel")$validArchs = @("x64", "Win32")if ($vsVersion -notin $validVsVersions -or $buildType -notin $validBuildTypes -or $arch -notin $validArchs) { Write-Host "Invalid input. Pl..