Microsoft Virtualization Discussions

Equivalent Powershell Command for "cifs homedir showuser user"

THEMPHILL2
4,113 Views

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!

1 REPLY 1

JGPSHNTAP
4,113 Views

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

Public