How to PST file owner,Filename,network location path,size of the PST file.
This why the Get-ChildItem Get-Acl cmdlets exists.
# Quick and dirty.
I am not sure what you mean by network location, because you have to know where the file is to ask for any info on it.
So, changing the above a bit, you get...
($FilesToVerify = Get-ChildItem -Path C:\Temp -Filter '*.pst' | Select -Property PSDrive,Fullname,Length -First 1 )
# Now, none of the above is elegant, and can be made better, but this should get you started.
Below is the script which i am currently using to fetch the details which is not giving the PST file owner details:
$LogedInUser = Get-WmiObject -ComputerName $strComputer -Class Win32_ComputerSystem -Property UserName |
You must be logged in to reply to this topic.