[{"data":1,"prerenderedAt":386},["ShallowReactive",2],{"navigation":3,"\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell":173,"\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell-surround":381},[4],{"title":5,"path":6,"stem":7,"children":8,"page":172},"Blog","\u002Fblog","blog",[9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169],{"title":10,"path":11,"stem":12},"Proxmox Remove Node from Cluster","\u002Fblog\u002Fproxmox-remove-node-from-cluster","blog\u002FProxmox-Remove-Node-from-Cluster",{"title":14,"path":15,"stem":16},"Proxmox Can't Live Migrate without with local disks option","\u002Fblog\u002Fproxmox-cant-live-migrate-without-local-disk-option","blog\u002FProxmox-cant-live-migrate-without-local-disk-option",{"title":18,"path":19,"stem":20},"Sharing large files with Send Firefox for free!","\u002Fblog\u002Fsharing-large-files-with-send-firefox","blog\u002FSharing-large-files-with-send-firefox",{"title":22,"path":23,"stem":24},"Windows Tips and My Favorite Password Manager","\u002Fblog\u002Fwindows-tips-and-my-favorite-password-manager","blog\u002FWindows-Tips-and-My-Favorite-Password-Manager",{"title":26,"path":27,"stem":28},"Add Docker Capabilities to TrueNAS Core","\u002Fblog\u002Fadd-docker-capabilities-to-truenas-core","blog\u002Fadd-docker-capabilities-to-truenas-core",{"title":30,"path":31,"stem":32},"Backup Office 365 OneDrive or SharePoint to TrueNAS","\u002Fblog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas","blog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas",{"title":34,"path":35,"stem":36},"Backup TrueNAS to the Cloud with Wasabi (S3 Compatible Storage)","\u002Fblog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage","blog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage",{"title":38,"path":39,"stem":40},"Best Budget Security System 2019","\u002Fblog\u002Fbest-budget-security-system-2019","blog\u002Fbest-budget-security-system-2019",{"title":42,"path":43,"stem":44},"Can AI Be a System Administrator? Fixing a Stuck Windows 11 Upgrade","\u002Fblog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade","blog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade",{"title":46,"path":47,"stem":48},"Create Windows 10 Virtual Machine on Proxmox","\u002Fblog\u002Fcreate-windows-10-virtual-machine-on-proxmox","blog\u002Fcreate-windows-10-virtual-machine-on-proxmox",{"title":50,"path":51,"stem":52},"Enable Super Fast Search on Server","\u002Fblog\u002Fenable-super-fast-search-on-server","blog\u002Fenable-super-fast-search-on-server",{"title":54,"path":55,"stem":56},"Essential Waterproof Beach Tech","\u002Fblog\u002Fessential-waterproof-beach-tech","blog\u002Fessential-waterproof-beach-tech",{"title":58,"path":59,"stem":60},">-","\u002Fblog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop","blog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop",{"title":62,"path":63,"stem":64},"FreeNAS can Host Virtual Machines: Using the bhyve Hypervisor from the Web GUI","\u002Fblog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui","blog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui",{"title":66,"path":67,"stem":68},"HAProxy 2.4 Install and Basic Setup On Ubuntu 20.04 LTS","\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts","blog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts",{"title":70,"path":71,"stem":72},"How to backup virtual machines to a NAS using NFS","\u002Fblog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1","blog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1",{"title":74,"path":75,"stem":76},"How to Enable Clipboard History in Windows 10","\u002Fblog\u002Fhow-to-enable-clipboard-history-in-windows-10","blog\u002Fhow-to-enable-clipboard-history-in-windows-10",{"title":78,"path":79,"stem":80},"How To Enable Screensavers On Windows 10","\u002Fblog\u002Fhow-to-enable-screensavers-on-windows-10","blog\u002Fhow-to-enable-screensavers-on-windows-10",{"title":82,"path":83,"stem":84},"How To get started blogging or build a website for free","\u002Fblog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free","blog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free",{"title":86,"path":87,"stem":88},"How to Install OPNSense Firewall?","\u002Fblog\u002Fhow-to-install-opnsense","blog\u002Fhow-to-install-OPNSense",{"title":90,"path":91,"stem":92},"How to Install FreeNAS from ISO","\u002Fblog\u002Fhow-to-install-freenas-from-iso","blog\u002Fhow-to-install-freenas-from-iso",{"title":94,"path":95,"stem":96},"How to Manage Windows Defender Antivirus with PowerShell","\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell","blog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell",{"title":98,"path":99,"stem":100},"How to Schedule Backups with Proxmox on a Local Directory","\u002Fblog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory","blog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory",{"title":102,"path":103,"stem":104},"Installing Docker and Portainer on Proxmox","\u002Fblog\u002Finstalling-docker-and-portainer-on-proxmox","blog\u002Finstalling-docker-and-portainer-on-proxmox",{"title":106,"path":107,"stem":108},"LAMP Stack Install Ubuntu 18 04: Linux Apache MySQL and PHP","\u002Fblog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php","blog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php",{"title":110,"path":111,"stem":112},"Microsoft Excel Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-excel-keyboard-shortcuts","blog\u002Fmicrosoft-excel-keyboard-shortcuts",{"title":114,"path":115,"stem":116},"Microsoft Word Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-word-keyboard-shortcuts","blog\u002Fmicrosoft-word-keyboard-shortcuts",{"title":118,"path":119,"stem":120},"Multiple Proxmox Hosts With Duplicate Virtual Machine IDs on Shared NFS Storage","\u002Fblog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage","blog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage",{"title":122,"path":123,"stem":124},"OPNSense Setup Multi-LAN, DHCP Static Assignment and More (Part 3)","\u002Fblog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3","blog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3",{"title":126,"path":127,"stem":128},"Remote Gaming and Video editing with Proxmox GPU passthrough","\u002Fblog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough","blog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough",{"title":130,"path":131,"stem":132},"Secure Your Nextcloud with HTTPS hosted on TrueNAS 12 Core with Nginx","\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager","blog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager",{"title":134,"path":135,"stem":136},"Setup NextCloud on Ubuntu 18.04 LTS with Apache2, MariaDB and PHP","\u002Fblog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php","blog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php",{"title":138,"path":139,"stem":140},"Setup Wizard and How to Backup OPNSense Firewall (Part 2)","\u002Fblog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2","blog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2",{"title":142,"path":143,"stem":144},"TrueNAS Nginx Proxy Jail with Let's Encrypt for your NextCloud","\u002Fblog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud","blog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud",{"title":146,"path":147,"stem":148},"Upgrading FreeNAS 11.3 to TrueNAS 12 Release","\u002Fblog\u002Fupgrading-freenas-11-3-to-truenas-12-release","blog\u002Fupgrading-freenas-11-3-to-truenas-12-release",{"title":150,"path":151,"stem":152},"What Does Secure Website Mean And How To Tell?","\u002Fblog\u002Fwhat-does-secure-website-mean-and-how-to-tell","blog\u002Fwhat-does-secure-website-mean-and-how-to-tell",{"title":154,"path":155,"stem":156},"Windows 10 Quick Tip #1: Customize Your Taskbar","\u002Fblog\u002Fwindows-10-quick-tip-1-customize-your-taskbar","blog\u002Fwindows-10-quick-tip-1-customize-your-taskbar",{"title":158,"path":159,"stem":160},"Windows 10 QuickTip #2 Free Up Disk Drive Space by enabling Storage Sense","\u002Fblog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense","blog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense",{"title":162,"path":163,"stem":164},"Windows 10 QuickTip #4 Backup Your Windows PC for Free with OneDrive","\u002Fblog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive","blog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive",{"title":166,"path":167,"stem":168},"Windows 10 QuickTip #5 Zoom in and Zoom out on Your Web Browser","\u002Fblog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser","blog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser",{"title":58,"path":170,"stem":171},"\u002Fblog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync","blog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync",false,{"id":174,"title":94,"author":175,"body":179,"date":373,"description":374,"extension":375,"image":376,"meta":377,"minRead":378,"navigation":334,"path":95,"seo":379,"stem":96,"__hash__":380},"blog\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell.md",{"name":176,"avatar":177},"Kevin Stevenson",{"src":178,"alt":176},"\u002Favatar.png",{"type":180,"value":181,"toc":362},"minimark",[182,187,191,195,198,201,208,211,217,221,233,239,248,253,284,290,299,317,323,328,335,339,348,351],[183,184,186],"h2",{"id":185},"introduction","Introduction",[188,189,190],"p",{},"PowerShell and why you should be using it. If you're not using\nPowerShell and you're a system admin, it's time to hop on that train and\nget started.",[183,192,194],{"id":193},"windows-defender-antivirus","Windows Defender Antivirus",[188,196,197],{},"Windows Defender is the default antivirus that comes pre-installed on\nyour Windows 10 PC's. This software does a decent job of managing,\nscanning, and updating your machine. This could be useful for if you\nhave a bunch of machines that just require scans.",[188,199,200],{},"You can start scans, updates, and many more items via the PowerShell.\nEverything that can be done via the Windows GUI, can easily be done\nwithin PowerShell. However, some items you can do in the PowerShell,\ncannot be done via the GUI. PowerShell is a software that is already\ninstalled on every PC as you can utilize it via remoting into the\nmachine while not messing with any user's logged in. This is great for\nprofessionals not using an RMM software. Another great thing is that it\nhas SSH, meaning with you Linux machines, you can SSH into them straight\nfrom your PowerShell.",[188,202,203],{},[204,205],"img",{"alt":206,"src":207},"Graphical user interface, text, application Description automatically\ngenerated","\u002Fimages\u002Fblog\u002Fpowershell_defender_blank_shell.png",[188,209,210],{},"The new Windows Terminal is used for these screenshots. This can be\nobtained via the Microsoft store and has much more functionality as\nopposed to the built-in PowerShell.",[188,212,213],{},[204,214],{"alt":215,"src":216},"Graphical user interface, application Description automatically\ngenerated","\u002Fimages\u002Fblog\u002Fpowershell_defender_dropdown.png",[183,218,220],{"id":219},"commands","Commands",[222,223,224],"ul",{},[225,226,227,228,232],"li",{},"Our first command we are going to look at is ",[229,230,231],"code",{},"[Get-MpComputerStatus]",". This will show us all of the info regarding the antivirus on the machine including Signature last updated, Signature Version, Computer ID, Quick scan start and end time, etc.",[188,234,235],{},[204,236],{"alt":237,"src":238},"Text Description automatically\ngenerated","\u002Fimages\u002Fblog\u002Fpowershell_defender_getmpstatus.png",[222,240,241],{},[225,242,243,244,247],{},"The second command is ",[229,245,246],{},"[Update-MpSignature]",". This is going to tell\nyour PC to go out and get the latest and greatest updates.",[188,249,250],{},[204,251],{"alt":237,"src":252},"\u002Fimages\u002Fblog\u002Fpowershell_defender_save.png",[222,254,255,262,269],{},[225,256,257,258,261],{},"When wanting to scan the machine, whether it be a full scan, quick scan,\nor custom scan, we can easily do everything via the PowerShell. The\nfirst command we will look at will be a quick scan. The command is\n",[229,259,260],{},"[Start-MpScan -ScanType QuickScan]",". This will perform a basic\nscan looking at the areas that are most likely to be attacked by a\nmalicious threat. Within the PowerShell, it will provide feedback as to\nhow it is going and show the progress.",[225,263,264,265,268],{},"The Full scan command is ",[229,266,267],{},"[Start-MpScan -ScanType FullScan]",". Very similar but instead weare switching out the \"Quick\" with \"Full\". This option will perform a scan on all drives and files associated with the machine making it so that it is much more thorough. With that stated, this scan will typically take much longer than the quick scan as it is going to be going through a lot more files in search of any malicious software or\nfiles on your machine.",[225,270,271,272,275,276,279,280,283],{},"Our third command will be ",[229,273,274],{},"[Start-MpScan-ScanType CustomScan -ScanPath\\\"C:\\\\Users\\USER\\Downloads]\\\""," with the ",[229,277,278],{},"\"C:\\\\Users\\USER\\Downloads\""," folder being what you would change to specify exactly what you would like to be scanned. This will result in a very custom and possibly specific scan that could both be quick or long depending on what you are scanning. After these scans perform, you will be able to remove the active threats, if it detects any, using the\ncommand ",[229,281,282],{},"[Remove-MpThreat]",".",[188,285,286],{},[204,287],{"alt":288,"src":289},"Graphical user interface, text, email, website Description\nautomatically generated","\u002Fimages\u002Fblog\u002Fpowershell_defender_quick_scan.png",[222,291,292],{},[225,293,294,295,298],{},"Our next item we will be looking at is the preferences command\n",[229,296,297],{},"[Get-MpPreference]"," to tell us all of the ways your Windows\nDefender is configured. One thing you can do with your preferences is to\nexclude something within your scan.",[222,300,301],{},[225,302,303,304],{},"This is often not recommended but\ncould be used in case a specific application or folder is using a data\nfile that causes issues when scanned, or messing with your scan,\nalthough you know it is a trustworthy software.\n",[222,305,306],{},[225,307,308,309,312,313,316],{},"This command is\n",[229,310,311],{},"[Set-MpPreference -ExclusionPath PATH\\\\TO\\\\FOLDER]"," or\n",[229,314,315],{},"[Set-MpPreference -ExclusionExtension EXTENSION]"," if you are\ntrying to exclude a specific file extension.",[188,318,319],{},[204,320],{"alt":321,"src":322},"Text Description automatically\ngenerated ","\u002Fimages\u002Fblog\u002Fpowershell_defender_preferences.png",[324,325,327],"h3",{"id":326},"full-video","Full Video",[329,330],"iframe",{"style":331,"src":332,"allow":333,"allowFullScreen":334},"width:100%; aspect-ratio:16\u002F9; border:0; border-radius:0.5rem;","https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FVAVWgE8HUcE","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",true,[324,336,338],{"id":337},"support-my-work","SUPPORT MY WORK",[188,340,341],{},[342,343,347],"a",{"href":344,"rel":345},"https:\u002F\u002Fphasedlogix.com",[346],"nofollow","Hire US Your IT Project",[349,350],"hr",{},[188,352,353],{},[354,355,356,357],"em",{},"This Article has been Republished with Permission from ",[342,358,361],{"href":359,"rel":360},"https:\u002F\u002Fphasedlogix.com\u002Fhow-to-manage-windows-defender-antivirus-with-powershell\u002F",[346],"PhasedLogix",{"title":363,"searchDepth":364,"depth":364,"links":365},"",2,[366,367,368],{"id":185,"depth":364,"text":186},{"id":193,"depth":364,"text":194},{"id":219,"depth":364,"text":220,"children":369},[370,372],{"id":326,"depth":371,"text":327},3,{"id":337,"depth":371,"text":338},"2021-10-04","This article details how to manage the Windows Defender Antivirus","md","\u002Fimages\u002Fblog\u002Fpowershell_defender_feature.jpg",{},4,{"title":94,"description":374},"iWQMhii8rmSzn-BUc7PQul8T9U8qyK0LKerbDuxOM8w",[382,384],{"title":90,"path":91,"stem":92,"description":383,"children":-1},"Explains how to install Freenas 11.2 from ISO",{"title":98,"path":99,"stem":100,"description":385,"children":-1},"This will explain how to schedule backups with proxmox on a local directory",1789484070830]