
作者:天津九安特機電工程有限公司 來(lái)源: 天津九安特機電工程有限公司 日期:2026-05-04 15:22:01
powershell,使用Get-MpPlatform -Language Englis??h | Select-Object -Property PlatformDescription,更新 AntimalwareSdkVersion, AntimalwareSdkName, UpdateUrl, UpdateHa??shcode, UpdateSize, UpdateDate,`,使用3. 找到您( ???)的更新平臺描述,然后在 Microsoft 安全情報更新頁(yè)面上下載適用于您的使用平臺的離線(xiàn)更新文件 。,更新4. 將下載的使用離線(xiàn)更(geng)新文件復制到包含 Win??dows De(′ω`)fender 的文件夾中。,更(geng)新5. 在 PowerShell 中輸入以下命?令并按 Enter 鍵:,使用`powershell,Start-Process -FilePath "C:Program Files (x86)Microsoft SecurityMp(???)EngineMpCmdRun.exe" -ArgumentList "/( ?° ?? ?°)scan" -Wait,??220;PowerShell是微軟公司推出的一種強大的命令行腳( ?° ?? ?°)本環(huán)境,它基于.NET Framework,可以運行在Windows操作系統上,PowerShell具有豐富的功能ヽ(′ー`)ノ,可以幫助用戶(hù)更高效地管理計算機資源,(′▽?zhuān)?提高工作效率,PowerShell也支持多種編程語(yǔ)言,如C、VBScript等,使得開(kāi)發(fā)者可以在PowerShell環(huán)境中編寫(xiě)腳本程序,實(shí)現自動(dòng)化操作。
1、訪(fǎng)問(wèn)微軟官方網(wǎng)站下載PowerShe(′;ω;`)ll安裝包:https://docs.microsoft.com/zh-cn/powershell/scripti(′?ω?`)ng/install/installing-powershell?view=powershell-7
2、根據您的操作系統(tong)選擇相應的安裝包,點(diǎn)擊下載。
4、按照提示(′?`)完成安裝過(guò)程。
5、安裝完成(cheng)后,打開(kāi)“開(kāi)始”菜單,找到“Windows PowerShell”文件夾,右鍵單擊“Windo??ws PowerShell”,選擇“以管理員身份運行”。
1、打開(kāi)“Windows PowerShell”,輸入以下命令,查看當前Windows Defender的狀態(tài):
Get-MpPreference -Name Real-Time Protection
2、如果Real-Time Protection處于“Enabled”狀態(tài),可以通過(guò)以┐(′?`)┌下命令關(guān)閉實(shí)時(shí)保護:
Set-MpPreference -Name Real-Time Protection -Enabled $false
3、關(guān)??閉實(shí)時(shí)保護后,可以通過(guò)以下命令重新啟用實(shí)時(shí)??保護:
Set-MpPreference -Name Real-Time Protection -Enabled $true
4、??再次輸入以下命令查看Windows Defender的狀態(tài),確認實(shí)時(shí)保護已恢復正常:
Get-MpPreference -Name Real-Time Protection??1、如何查看Windows Defender的版本信息?
答:在PowerShell中輸入以下命令即可查看Windows Defen(T_T)der的版本信息:
Get-MpSoftware -DisplayName "Windows Defender" | Select-??Object Version, RevisionNumber
2、如何手動(dòng)更新Windows(′?`) Defender?
答:在P(′▽?zhuān)?)owerShell中輸入以下命令即可手動(dòng)更新Windows Defender:
Start-Service -Name MpsSvc -ErrorAction Stop; Start-Service -Name MsMpSvc -ErrorAction Stop; Start-Service -Name AntiSpyware -ErrorAct??ion Stop; Start-S(′ω`)ervice -Name AntiVirusService -ErrorAc??tion Stop; Start-Service -Name WindowsDefenderAntiSpywareServ(′?`*)ice -ErrorAction Stop; Start-Service -Name WindowsDef(?????)enderApplicationMonitoringService -ErrorAction Stop; Start-Service -Name WindowsDefenderLiveGuardService -ErrorAction Stop; Start-Ser??vice -Name WindowsDefenderPum(°□°)pHeartbeatService -ErrorAction Stop; Start-Se??rvice -Name WindowsDefenderRemoteAccessProtectionAgentS??ervice -ErrorAction Stop; Start-Service -Name Windo??wsDefenderScanningService -Err(?????)orAction St??op; Start-Service -Name WindowsDefenderUpgradeService -ErrorAction Stop; Start-Service -Name WdfsSvc -ErrorAction Stop; Wait-Seconds 600; Start-Service -Name WdfsSv??c; Wait-Seconds 600; Start-Service -Name WmiAuditingS┐(′д`)┌ervi??ce -ErrorAction(???) Stop; Wait-Secon??ds 900; Startヽ(′ー`)ノ-Service -Name WmiAuditingService; Wait-Secon(′ω`*)ds 900; Star(???)t-Service -Name AntimalwareServiceEx -Erro(°□°)rAction Stop; Wait-Seconds 600??;ヾ(?■_■)ノ Start-Service -Name AntimalwareServiceEx; Wait-Second??s 600; Start-Service -Nam??e AntimalwareServiceExCore -Erro??rAction Stop; Wait-Seconds 600; Sta??rt-Service -Name?? AntimalwareServiceExCore; Wait-Seconds 600; Start-Service -Name AntimalwareServiceExHostAgent -ErrorAction Stop; Wait-(//ω//)Seconds 600; Start-Service -Name AntimalwareServiceExHostAgent; Wait-Seconds 600; Start-Serv??ice -Name AntimalwareServiceExServerAgent -Error??Action Stop; Wait-Seconds 600; Start-Service -Name AntimalwareServiceExServerAgent; Wait-Second┐(′ー`)┌s?? 600; Start