|
|
|
@ -524,7 +524,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender") |
|
|
|
Write-Information -MessageData "" -InformationAction Continue |
|
|
|
|
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows11" -Verbose |
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose |
|
|
|
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose |
|
|
|
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose |
|
|
|
|
|
|
|
@ -540,7 +540,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender") |
|
|
|
Write-Information -MessageData "" -InformationAction Continue |
|
|
|
|
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows11" -Verbose |
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose |
|
|
|
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose |
|
|
|
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose |
|
|
|
|
|
|
|
@ -565,7 +565,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender") |
|
|
|
Write-Information -MessageData "" -InformationAction Continue |
|
|
|
|
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows11" -Verbose |
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose |
|
|
|
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose |
|
|
|
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose |
|
|
|
|
|
|
|
@ -574,13 +574,18 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
exit |
|
|
|
} |
|
|
|
|
|
|
|
if ((Get-Service -Name SecurityHealthService).Status -ne "running") |
|
|
|
# Check SecurityHealthService service |
|
|
|
try |
|
|
|
{ |
|
|
|
Get-Service -Name SecurityHealthService -ErrorAction Stop | Start-Service |
|
|
|
} |
|
|
|
catch |
|
|
|
{ |
|
|
|
Write-Information -MessageData "" -InformationAction Continue |
|
|
|
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender") |
|
|
|
Write-Information -MessageData "" -InformationAction Continue |
|
|
|
|
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows11" -Verbose |
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose |
|
|
|
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose |
|
|
|
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose |
|
|
|
|
|
|
|
@ -607,7 +612,6 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); |
|
|
|
|
|
|
|
Start-Process -FilePath "windowsdefender://RansomwareProtection" |
|
|
|
|
|
|
|
Write-Verbose -Message "https://www.microsoft.com/software-download/windows11" -Verbose |
|
|
|
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose |
|
|
|
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose |
|
|
|
|
|
|
|
|