Angry Admin
System Administrator's Notepad
Wednesday, June 13, 2018
PowerShellTip: Use PowerShell to Find User Profile Path
To easily get information about the folder and path to the profile for a currently signed-in user, use environmental variable
UserProfile
.
[PS]$env:UserProfile
This can be useful in scripts.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment