Is there a way to track changes made by running Add-AppxPackage?
By changes I mean anything from file system changes (create, modify, delete ... files/folders, change file permissions), registry changes (add, remove, modify keys, permissions, ...).
I know I can monitor such changes separately by means of specific programs (e.g., Folder Changes View) or Windows audit features, but they usually track all events independently of who made them, so it is difficult to isolate changes that came only from Add-AppxPackage. To overcome the isolation problem, one can run the tracking tools "a moment" before running Add-AppxPackage, but such "synchronization" is really difficult to perform and does not guarantee the perfect isolation.
So, is there a way to run Add-AppxPackage and see what exactly does it do to the file system and to the windows registry?