Quoting error, cleaning

This commit is contained in:
Alex Berry 2020-03-04 23:45:52 +00:00
parent 2316fe11ef
commit b2fb281923

View File

@ -16,12 +16,12 @@ if ($Log) {
# If $Cores param is set to 0, detect how many cores this machine has, else use $Cores
if ($Cores-ne 0) {
Write-Host "Overriding core count with $Cores."
$MaxThreads = $Cores
Write-Host "Overriding core count with $Cores."
}
else {
$MaxThreads = (Get-WmiObject -Class Win32_Processor).NumberOfLogicalProcessors
Write-Host "Running with $MaxThreads" Cores by default.
Write-Host "Running with $MaxThreads Cores by default."
}
# Generate a list of files to process