Categories
How to automatically create profile folders in Windows?
I start users with a script on the server. How can they automatically generate profiles for them before they first log in to the system?
Answer the question
In order to leave comments, you need to log in
Something like this $credential = New-Object System.Management.Automation.PsCredential(".\testuser", (ConvertTo-SecureString "[email protected]" -AsPlainText -Force)) start-process whoami -Credential $credential -loaduserprofile - NoNewWindow
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question