Hello, I need to know how I can do this and that guide me to do step by step since I do not understand the documentation very well.
First of all, I want everything to be done in a hidden way, not to be seen when doing this command.
1) In the installation or update of the product, I want you to always execute it.
First of all I have this
Add-MpPreference -ExclusionPath here I must insert where my application has been installed, ie the path for example Program Files\My Company
2) On the other hand, I must include all executable files .exe of my application, in which I have to include them independently in this way.
Add-MpPreference -ControlledFolderAccessAllowedApplications ie the path for example Program Files\My Company\Miapp1.exe
Add-MpPreference -ControlledFolderAccessAllowedApplications ie the path for example Program Files\My Company\Miapp2.exe
Add-MpPreference -ControlledFolderAccessAllowedApplications ie the path for example Program Files\My Company\Miapp3.exe
Tutorial
https://www.windowscentral.com/how-enab ... ors-update
I am following the steps of this tutorial in which I also want to include the removal of it when I desist my application.
I will also need to know how I can rerun this command but the deletion as indicated in the tutorial once I uninstall my application.
Thanks