{"id":41863,"date":"2025-07-01T23:23:27","date_gmt":"2025-07-02T02:23:27","guid":{"rendered":"https:\/\/mastertrend.info\/?p=41863"},"modified":"2025-11-11T23:37:19","modified_gmt":"2025-11-12T02:37:19","slug":"powershell-%e6%89%ab%e6%8f%8f-windows","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/zh\/powershell-escanea-windows\/","title":{"rendered":"PowerShell \u626b\u63cf Windows\uff1a\u65e0\u9700 Windows \u5b89\u5168\u4e2d\u5fc3\u5373\u53ef\u68c0\u6d4b\u75c5\u6bd2\uff01\ud83e\udda0\u26a1"},"content":{"rendered":"<h2>PowerShell \u626b\u63cf Windows\uff1a\u8f7b\u677e\u626b\u63cf\u5e76\u5220\u9664\u6076\u610f\u8f6f\u4ef6\ud83d\udd25\ud83d\udee1\ufe0f<\/h2>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u672a\u6fc0\u6d3b\u7684 Windows \u7248\u672c\uff0c\u5219\u4f7f\u7528 Windows \u5b89\u5168\u4e2d\u5fc3\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u95ee\u9898\u3002\u5373\u4f7f\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5b89\u5168\u5e94\u7528\uff0c\u4e5f\u65e0\u6cd5\u66f4\u65b0\u5176\u75c5\u6bd2\u5e93\u3002\u26a0\ufe0f<\/p>\n<p>\u56e0\u6b64\uff0c\u5982\u679c\u60a8\u7531\u4e8e\u67d0\u79cd\u539f\u56e0\u65e0\u6cd5\u8bbf\u95ee Windows \u5b89\u5168\u5e94\u7528\u7a0b\u5e8f\uff0c\u60a8\u53ef\u4ee5\u4f9d\u9760 <a href=\"https:\/\/learn.microsoft.com\/es-es\/powershell\/scripting\/install\/installing-powershell-on-windows?view=powershell-7.5\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"mentions\">PowerShell<\/a> \u626b\u63cf\u60a8\u7684 Windows \u4ee5\u67e5\u627e\u75c5\u6bd2\u548c\u6076\u610f\u8f6f\u4ef6\u3002\ud83e\udda0<\/p>\n<h2><span id=\"How_to_Launch_PowerShell_in_Windows\"><strong>\u5982\u4f55\u5728 Windows \u4e2d\u6253\u5f00 PowerShell\uff1f<\/strong><\/span><\/h2>\n<p>\u5728 Windows \u4e2d\u6253\u5f00 PowerShell \u975e\u5e38\u7b80\u5355\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u542f\u52a8\u5b83\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127793 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u7535\u6e90\u5916\u58f3\" width=\"500\" height=\"413\" data-lazy-=\"\" title=\"\"><\/p>\n<ul>\n<li>\u641c\u7d22 <strong>PowerShell<\/strong> \u5728 Windows \u641c\u7d22\u4e2d\u3002<\/li>\n<li>\u53f3\u952e\u5355\u51fb PowerShell \u5e76\u9009\u62e9 <strong>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u3002<\/strong><\/li>\n<\/ul>\n<h2><span id=\"1_Check_Windows_Security_Status\"><strong>1.\u68c0\u67e5Windows\u5b89\u5168\u72b6\u6001<\/strong><\/span><\/h2>\n<p>\u5728\u7ee7\u7eed\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u8bbe\u5907\u6b63\u5728\u8fd0\u884c\u5b89\u5168\u5e94\u7528\u3002\u5982\u679c\u60a8\u6b63\u5728\u4f7f\u7528\u5176\u4ed6\u5b89\u5168\u7a0b\u5e8f\uff0c\u5219\u6b64\u65b9\u6cd5\u5c06\u4e0d\u8d77\u4f5c\u7528\u3002\ud83d\udd0d<\/p>\n<p>\u5728 PowerShell \u7a97\u53e3\u4e2d\uff0c\u60a8\u9700\u8981\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre><code><strong>\u83b7\u53d6 MpComputerStatus<\/strong><\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127792 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522412_302_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u68c0\u67e5 Defender \u72b6\u6001\" width=\"700\" height=\"378\" data-lazy-=\"\" title=\"\"><\/p>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u5c06\u5217\u51fa Windows \u5b89\u5168\u7684\u6240\u6709\u8be6\u7ec6\u4fe1\u606f\u3002\u5982\u679c\u60a8\u7684\u7cfb\u7edf\u4e0a\u542f\u7528\u4e86\u5b89\u5168\u5de5\u5177\uff0c\u5b83\u5c06\u663e\u793a <strong>\u771f\u7684 <\/strong>\u5728\u73b0\u573a <strong>\u9632\u75c5\u6bd2\u542f\u7528<\/strong>\u3002 \u2705<\/p>\n<h2><span id=\"2_Update_Windows_Security\"><strong>2.\u66f4\u65b0Windows\u5b89\u5168<\/strong><\/span><\/h2>\n<p>\u5982\u679c\u60a8\u6309\u65f6\u5b89\u88c5\u6240\u6709 Windows \u66f4\u65b0\uff0c\u5219\u65e0\u9700\u9075\u5faa\u6b64\u65b9\u6cd5\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u6ca1\u6709\u66f4\u65b0\uff0c\u5219\u9700\u8981\u624b\u52a8\u66f4\u65b0 Windows \u5b89\u5168\u5e94\u7528\u3002\ud83d\udd04<\/p>\n<pre><code><strong>\u66f4\u65b0-MpSignature<\/strong><\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127791 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522412_913_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u66f4\u65b0 Microsoft Defender\" width=\"700\" height=\"391\" data-lazy-=\"\" title=\"\"><\/p>\n<h2><span id=\"3_Running_a_Full_Virus_Scan\"><strong>3. \u6267\u884c\u5b8c\u6574\u7684\u75c5\u6bd2\u626b\u63cf<\/strong><\/span><\/h2>\n<p>Si no has escaneado tu computadora en un tiempo, es recomendable realizar un escaneo completo del <a class=\"wpil_keyword_link\" href=\"https:\/\/mastertrend.info\/zh\/%e6%b8%b8%e6%88%8f%e4%b8%ad%e7%9a%84%e6%9d%80%e6%af%92%e8%bd%af%e4%bb%b6\/\" target=\"_blank\" rel=\"noopener\" title=\"\u6e38\u620f\u91cc\u7684\u6740\u6bd2\u8f6f\u4ef6\uff1a\u5173\u8fd8\u662f\u4e0d\u5173\uff1f\u5b83\u5bf9\u5e27\u7387\u7684\u5b9e\u9645\u5f71\u54cd\u3002\u770b\uff01\ud83d\udee1\ufe0f\ud83d\udd25\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"34487\">\u9632\u75c5\u6bd2\u8f6f\u4ef6<\/a>. Puedes usar PowerShell para ejecutar un escaneo completo de antivirus en tu PC. El escaneo completo revisa cada archivo en tu Windows, por lo que puede demorar un tiempo. \ud83d\udd52 Para realizar un escaneo completo de antivirus, ejecuta el siguiente comando:<\/p>\n<pre><strong><code>\u542f\u52a8MpScan-ScanType FullScan<\/code><\/strong><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127790 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522412_197_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u8fd0\u884c\u5168\u9762\u75c5\u6bd2\u626b\u63cf\" width=\"700\" height=\"389\" data-lazy-=\"\" title=\"\"><\/p>\n<p>\u7531\u4e8e\u5b8c\u6574\u626b\u63cf\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u624d\u80fd\u5b8c\u6210\uff0c\u60a8\u53ef\u4ee5\u6307\u793a Windows \u5b89\u5168\u4e2d\u5fc3\u5728\u540e\u53f0\u6267\u884c\u626b\u63cf\u3002\u4e3a\u6b64\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre><code><strong>\u542f\u52a8MpScan-ScanType FullScan-AsJob<\/strong><\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127789 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522412_283_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"Microsoft Defender \u6267\u884c\u626b\u63cf\" width=\"700\" height=\"390\" data-lazy-=\"\" title=\"\"><\/p>\n<h2><span id=\"4_Run_a_Quick_Scan_using_PowerShell\"><strong>4. \u4f7f\u7528 PowerShell \u8fd0\u884c\u5feb\u901f\u626b\u63cf<\/strong><\/span><\/h2>\n<p>\u5b8c\u6574\u626b\u63cf\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\uff0c\u53ef\u80fd\u4f1a\u964d\u4f4e\u8bbe\u5907\u901f\u5ea6\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <a title=\"Windows \u5b89\u5168\u4e2d\u5fc3\u5728 Windows 11 \u4e0a\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff1f\u5feb\u901f\u4fee\u590d\ud83d\udd27\ud83d\udcbb\" href=\"https:\/\/mastertrend.info\/zh\/windows-%e5%ae%89%e5%85%a8%e4%b8%ad%e5%bf%83%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e5%b7%a5%e4%bd%9c\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"6049\">Windows \u5b89\u5168\u5feb\u901f\u626b\u63cf\u529f\u80fd<\/a>\u8981\u4f7f\u7528 PowerShell \u8fd0\u884c\u5feb\u901f\u9632\u75c5\u6bd2\u626b\u63cf\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309 Enter\u3002<\/p>\n<pre><code><strong>\u542f\u52a8MpScan -ScanType QuickScan<\/strong><\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127788 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522412_228_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u4f7f\u7528 PowerShell \u8fd0\u884c\u5feb\u901f\u626b\u63cf\" width=\"700\" height=\"391\" data-lazy-=\"\" title=\"\"><\/p>\n<h2><span id=\"5_Run_Windows_Security_Offline_Scan\"><strong>5.\u8fd0\u884c Windows \u5b89\u5168\u8131\u673a\u626b\u63cf<\/strong><\/span><\/h2>\n<p>\u5bf9\u4e8e\u90a3\u4e9b\u4e0d\u77e5\u9053\u7684\u4eba\u6765\u8bf4\uff0c\u79bb\u7ebf\u626b\u63cf\u529f\u80fd\u53ef\u4ee5\u5220\u9664\u96be\u4ee5\u68c0\u6d4b\u7684\u6076\u610f\u8f6f\u4ef6\u3002\u4f46\u662f\uff0c\u79bb\u7ebf\u626b\u63cf\u662f\u5728\u53d7\u4fe1\u4efb\u7684\u73af\u5883\u4e2d\u8fd0\u884c\u7684\u3002\u8fd9\u610f\u5473\u7740\u4f60\u53ef\u80fd\u4f1a\u4e22\u5931\u4f60\u5f53\u524d\u7684\u5de5\u4f5c\u3002\ud83d\ude1f<\/p>\n<p>\u5728\u8fd0\u884c\u8131\u673a\u626b\u63cf\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u4fdd\u5b58\u6240\u6709\u6253\u5f00\u7684\u6587\u4ef6\u3002\u8981\u901a\u8fc7 PowerShell \u6267\u884c\u8131\u673a\u626b\u63cf\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code><strong>\u542f\u52a8MpWDOScan<\/strong><\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-127787 size-full\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/04\/1743522413_641_Como-usar-PowerShell-para-escanear-Windows-en-busca-de-virus.jpg\" alt=\"\u8fd0\u884c Defender \u8131\u673a\u626b\u63cf\" width=\"700\" height=\"392\" data-lazy-=\"\" title=\"\"><\/p>\n<p>\u672c\u6307\u5357\u89e3\u91ca\u4e86\u5982\u4f55\u4f7f\u7528 <a title=\"\u4fee\u590d Windows \u7cfb\u7edf\u4e2d\u7684\u635f\u574f\u6587\u4ef6 \ud83d\udcc2 \u6709\u6548\u89e3\u51b3\u65b9\u6848\" href=\"https:\/\/mastertrend.info\/zh\/%e4%bf%ae%e5%a4%8d-windows-%e4%b8%ad%e7%9a%84%e6%8d%9f%e5%9d%8f%e6%96%87%e4%bb%b6\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"5944\">PowerShell \u626b\u63cf Windows<\/a> \u6076\u610f\u8f6f\u4ef6\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002\u5206\u4eab\u7ed9\u60a8\u7684\u670b\u53cb\uff01\u5982\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u8bf7\u5728\u4e0b\u65b9\u8bc4\u8bba\u533a\u7559\u8a00\u3002\ud83d\udcac<\/p>\n<p><!-- CONTENT END 1 --><\/p>","protected":false},"excerpt":{"rendered":"<p>PowerShell \u4f1a\u626b\u63cf Windows \u4e2d\u7684\u75c5\u6bd2\u548c\u6076\u610f\u8f6f\u4ef6\u2014\u2014\u5982\u679c\u60a8\u7684 Windows \u5c1a\u672a\u6fc0\u6d3b\uff0c\u8fd9\u7edd\u5bf9\u662f\u7406\u60f3\u4e4b\u9009\u3002\u5feb\u901f\u8f7b\u677e\u5730\u4fdd\u62a4\u60a8\u7684\u7535\u8111\uff01\ud83e\udda0<\/p>","protected":false},"author":1,"featured_media":54078,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":55,"jnews-multi-image_gallery":[],"jnews_single_post":{"format":"standard","override":[{"template":"1","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"1","post_reading_time_wpm":"300","post_calculate_word_method":"str_word_count","show_zoom_button":"1","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","number_popup_post":"1","show_author_box":"1","show_post_related":"0","show_inline_post_related":"0","show_comment_section":"1"}],"image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post_position":"meta","trending_post_label":"Trending","sponsored_post_label":"Sponsored by","disable_ad":"0","subtitle":""},"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":{"view_counter_number":"0","share_counter_number":"0","like_counter_number":"0","dislike_counter_number":"0"},"footnotes":""},"categories":[308],"tags":[1445,1425,1623],"class_list":["post-41863","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seguridad","tag-evergreencontent","tag-malware","tag-windows10"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts\/41863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/comments?post=41863"}],"version-history":[{"count":15,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts\/41863\/revisions"}],"predecessor-version":[{"id":105520,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/posts\/41863\/revisions\/105520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/media\/54078"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/media?parent=41863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/categories?post=41863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/zh\/wp-json\/wp\/v2\/tags?post=41863"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}