This one is quite simple, here’s a script to list all the persistent file stores from a weblogic using WLST. With ls() you can list all the tree and get an property from it using get().

How to use this script: