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

Extract profilepath is empty

$
0
0

Hi,

I am trying to list our AD users along with their profile paths however when I run the command below it lists all the users but the profile paths are all empty even though I know that many users have profile paths set?  I also notice that it only displays the last logon date for a few users.  Am I doing something wrong?

 get-aduser -filter * -properties * | select displayname,office,profilepath,lastlogondate

It is a 2008 AD and I am running powershell on the AD server.

Any advice appreciated.

Thanks


Viewing all articles
Browse latest Browse all 6937

Trending Articles