can we enable agentless scanning and endpoint protection using powershell. And can we configure AMA in defender for sql settings using powershell.
Also using powershell can we get existing agentless scanning, endpoint protection, log analytics agent configurations for defender for servers
See: https://learn.microsoft.com/en-us/azure/defender-for-cloud/enable-agentless-scanning-vms
And: https://theitbros.com/managing-windows-defender-using-powershell/
Yes, here are some example commands:
Get-MpPreferenceGet-MpComputerStatusPlease see the links above which have more guidance, let me know if this helps.