Outlook PST Size

so, the PST files are inside the user’s folder.
What makes it tricky is that the user’s name is a variable here.
you can use folder of folder.

Something like this.

if(exists files ("AppData\Local\Microsoft\Outlook\filename.PST") of folders of folders "C:\Users") then (size of file "AppData\Local\Microsoft\Outlook\filename.PST") of folders of folders "C:\Users" as string) else ("No PST Found")

Something Like That I think the PST name is also a variable and I would not know how to do that. you will need to do some research on that. and as per another post I mentioned to you. you can future proof your file locations for windows if you follow what is in this post:

1 Like