We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59115ad commit 9510f1fCopy full SHA for 9510f1f
1 file changed
Scripts/3_Deploy.ps1
@@ -970,7 +970,7 @@ If (-not $isAdmin) {
970
$TimeZone=(Get-TimeZone).id
971
972
#Grab number of processors
973
- Get-CimInstance -ClassName "win32_processor" | ForEach-Object { $global:NumberOfLogicalProcessors += $_.NumberOfLogicalProcessors }
+ Get-CimInstance -ClassName "win32_processor" | ForEach-Object { $global:NumberOfLogicalProcessors += $_.NumberOfEnabledCore }
974
975
#Calculate highest VLAN (for additional subnets)
976
[int]$HighestVLAN=$LabConfig.AllowedVLANs -split "," -split "-" | Select-Object -Last 1
0 commit comments