locked
Script multiple PowerShell commands / purge list RRS feed

  • Question

  • Hello.

    I would like to know if there is a command in PowerShell that could purge the Controlled Folder Access Exceptions List.

    The reason is that I have managed to create a PowerShell Script which adds all the apps i want into the whitelist (and there are many apps ...) but I have executed it twice and now I have a lot of duplicates. Technically I don't think this can impact the usability of this feature, but I would like to know if there is any way to purge this list via PowerShell script or command.

    Thank you.


    • Edited by LaurFlorin Tuesday, December 12, 2017 2:12 AM
    • Moved by Bill_Stewart Friday, January 26, 2018 3:28 PM Unanswerable drive-by question
    Tuesday, December 12, 2017 2:12 AM

All replies

  • You don't want to do this:

    get-mppreference | Remove-MpPreference


    \_(ツ)_/

    Tuesday, December 12, 2017 3:15 AM