Microsoft Virtualization Discussions

Equivalent Powershell Command for "cifs homedir showuser user"

THEMPHILL2

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

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

JGPSHNTAP

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

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public