Community

Subscribe
Highlighted

Equivalent Powershell Command for "cifs homedir showuser user"

I seem to be unable to find a way in powershell that will list the location of a users home drive like the command "cifs homedir showuser username" Any ideas on how to get the location of a users home drive from powershell would be appreciated.

Thanks!

Re: Equivalent Powershell Command for "cifs homedir showuser user"

You can use invoke-nassh to send that command thru powershell.. I'm not sure of a native api for that