NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Equivalent Powershell Command for "cifs homedir showuser user"

THEMPHILL2
4,701 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,701 Views

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

Public