Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Script to get the file size in a folder and check the active directory for the user.

$
0
0

Hello experts,

I have requirement to get the below details.

scenario- There are folders (shared folder) with name of users login ID. Each folder consists of users' PST. I want get the DirectoryName, Owner Display Name, UserID, AccountIsDisabled,Email Address, Name of each PST file, Size (MB), CreationTime, LastWriteTime, LastAccessTime and LastLogonTimeStamp.

export it in a csv file and  send an email to each user with the size of the file and asking them to reduce the PST size.

can someone help me with this please?

Windows 2008 Standard.

 

 


Viewing all articles
Browse latest Browse all 8583

Trending Articles