Hi
I'm using the powershell cmdlets
get-applockerfileinformation "C:\windows\system32\notepad.exe" | new-applockerpolicy -ruletype publisher -xml > myxmlfile.xml
to generate an xml file to import later to a GPO. I'm trying to create one Microsoft publisher rule but the output of that command also gives detials for notepad which I don't want.
I can do this via the gui for the Applocker GPO by using the slider which replaces the file and versions for Notepad with a *.
This is a simple example. What I eventually would like to achieve is to point the get-applockerfileinformation cmdlet to the c:\ and let it recurse creating just one rule for each publisher on that drive.
Does anyone know of a way to do this?
Thanks
Jeff