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

Find Profile Path

$
0
0

HI All,

 I need to find the "Users" folder location from a OU ( Some PC's got C: Drive and Some got D Drive)

I can run $env:USERPROFILE  and check but i need to run from remote and output to a file?

Ex:

Worksation1 -  C:\users\

Worksation 2 - d:\Users\ 

 

As


Viewing all articles
Browse latest Browse all 6937

Trending Articles