Skip to content

Commit 71cc3ba

Browse files
authored
Merge pull request MultiPoolMiner#1434 from MultiPoolMiner/revert-1373-fixincludes
Revert "Include NetSecurity and Defender modules in main script"
2 parents 2c9263d + 324c726 commit 71cc3ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MultiPoolMiner.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ $SyncWindow = 5 #minutes
6666
Set-Location (Split-Path $MyInvocation.MyCommand.Path)
6767
Import-Module NetSecurity -ErrorAction Ignore
6868
Import-Module Defender -ErrorAction Ignore
69+
Import-Module "$env:Windir\System32\WindowsPowerShell\v1.0\Modules\NetSecurity\NetSecurity.psd1" -ErrorAction Ignore
70+
Import-Module "$env:Windir\System32\WindowsPowerShell\v1.0\Modules\Defender\Defender.psd1" -ErrorAction Ignore
6971

7072
$Algorithm = $Algorithm | ForEach-Object {Get-Algorithm $_}
7173
$ExcludeAlgorithm = $ExcludeAlgorithm | ForEach-Object {Get-Algorithm $_}

0 commit comments

Comments
 (0)