Quoting error, cleaning
This commit is contained in:
parent
2316fe11ef
commit
b2fb281923
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user