diff --git a/NemosMinerv2.5.1.ps1 b/NemosMinerv2.5.1.ps1 index 15304d980e..0522a4c5b2 100644 --- a/NemosMinerv2.5.1.ps1 +++ b/NemosMinerv2.5.1.ps1 @@ -57,7 +57,7 @@ $ScriptStartDate = Get-Date [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" Set-Location (Split-Path $script:MyInvocation.MyCommand.Path) Get-ChildItem . -Recurse | Unblock-File -Write-host "INFO: Adding NPlusMiner path to Windows Defender's exclusions.. (may show an error if Windows Defender is disabled)" -foregroundcolor "Yellow" +Write-host "INFO: Adding NemosMiner path to Windows Defender's exclusions.. (may show an error if Windows Defender is disabled)" -foregroundcolor "Yellow" try{if((Get-MpPreference).ExclusionPath -notcontains (Convert-Path .)){Start-Process powershell -Verb runAs -ArgumentList "Add-MpPreference -ExclusionPath '$(Convert-Path .)'"}}catch{} if($Proxy -eq ""){$PSDefaultParameterValues.Remove("*:Proxy")} else{$PSDefaultParameterValues["*:Proxy"] = $Proxy}