You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docker image mcr.microsoft.com/windows/server:ltsc2022 is used.
It looks like the powershell inside it doesn't have 'Defender' module. https://learn.microsoft.com/en-us/powershell/module/defender/?view=windowsserver2022-ps#defender
This is necessary to use Add-MpPreference cmdlet to exclude some folders from scanning since it fails build step in GitHub Actions from time to time (It is self-hosted runners).
How could I do Install-Module Defender? Is it possible? When I see windows server 2022 (Datacenter) or windows 11, they all have Defender folder under C:\Windows\system32\windowspowershell\v1.0
The text was updated successfully, but these errors were encountered:
Thank you for creating an Issue. Please note that GitHub is not an official channel for Microsoft support requests. To create an official support request, please open a ticket here. Microsoft and the GitHub Community strive to provide a best effort in answering questions and supporting Issues on GitHub.
The docker image mcr.microsoft.com/windows/server:ltsc2022 is used.
It looks like the powershell inside it doesn't have 'Defender' module.
https://learn.microsoft.com/en-us/powershell/module/defender/?view=windowsserver2022-ps#defender
This is necessary to use
Add-MpPreference
cmdlet to exclude some folders from scanning since it fails build step in GitHub Actions from time to time (It is self-hosted runners).How could I do
Install-Module Defender
? Is it possible? When I see windows server 2022 (Datacenter) or windows 11, they all have Defender folder under C:\Windows\system32\windowspowershell\v1.0The text was updated successfully, but these errors were encountered: