Home folder size

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

Not Ranked
1 Posts
morite posted on 05-14-2012 3:49 AM

Hi All,

I have a list of usernames and I want to find out their home folder size. The home folder could be on any file server we have.

How can I do this?

I only have a basic script I downloaded

Get-QADUser | select DisplayName,HomeDirectory | Export-Csv c:\scripts\HomeDirectory.csv



All Replies

Top 150 Contributor
34 Posts


So, one way of doing this would be to store all the usernames in a variable. Let's say that you manage to save a list one above the other in a foo.txt file in C:\


Get-Content C:\foo.txt | Get-QADUser  | Export-Csv c:\scripts\HomeDirectory.csv

You can filter the information afterwards. I do not recommend using select before exporting to a CSV using QUEST cmdlets.

Let me know if it does not work as expected.


Page 1 of 1 (2 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.