|
@ -282,7 +282,7 @@ function Checks |
|
|
} |
|
|
} |
|
|
catch [Microsoft.PowerShell.Commands.ServiceCommandException] |
|
|
catch [Microsoft.PowerShell.Commands.ServiceCommandException] |
|
|
{ |
|
|
{ |
|
|
$Localization.WindowsBroken |
|
|
Write-Warning -Message $Localization.WindowsBroken |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
exit |
|
|
exit |
|
|
} |
|
|
} |
|
@ -295,7 +295,7 @@ function Checks |
|
|
# Check Microsoft Defender state |
|
|
# Check Microsoft Defender state |
|
|
if ($null -eq (Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct -ErrorAction Ignore)) |
|
|
if ($null -eq (Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct -ErrorAction Ignore)) |
|
|
{ |
|
|
{ |
|
|
$Localization.WindowsBroken |
|
|
Write-Warning -Message $Localization.WindowsBroken |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
exit |
|
|
exit |
|
|
} |
|
|
} |
|
@ -356,7 +356,7 @@ function Checks |
|
|
} |
|
|
} |
|
|
catch [System.Management.Automation.PropertyNotFoundException] |
|
|
catch [System.Management.Automation.PropertyNotFoundException] |
|
|
{ |
|
|
{ |
|
|
$Localization.UpdateDefender |
|
|
$Localization.UpdateDefender ### |
|
|
|
|
|
|
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
|
|
|
|
|
|