We need to monitor the status of Windows Defender. We want to review the 15 most recent entries from the Windows Defender Event Log that are not informational items. We also want to verify the status of the Windows Defender scheduled tasks and make sure that they are ready. We need to you to figure out how to accomplish this from PowerShell so that we will be able to run the commands against remote computers. Instructions: You will need to find the commands required to gather the required information. Note that you cannot use Get-EventLog as it only works with the classic event logs. You will need another cmdlet to retrieve the logs. Make sure that you only retrieve the most recent 15 entries from the Windows Defender logs that are not information items. You will also need to find the command to list scheduled tasks and then filter that list to display only the scheduled tasks related to Windows Defender.
We need to monitor the status of Windows Defender. We want to review the 15 most recent entries from the Windows Defender Event Log that are not informational items. We also want to verify the status of the Windows Defender scheduled tasks and make sure that they are ready. We need to you to figure out how to accomplish this from PowerShell so that we will be able to run the commands against remote computers.
Instructions:
You will need to find the commands required to gather the required information. Note that you cannot use Get-EventLog as it only works with the classic event logs. You will need another cmdlet to retrieve the logs. Make sure that you only retrieve the most recent 15 entries from the Windows Defender logs that are not information items. You will also need to find the command to list scheduled tasks and then filter that list to display only the scheduled tasks related to Windows Defender.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images