Set-LocalUserProfile
PackageDeployment Module Help |
Package Deployment Module |
Set-LocalUserProfile Cmdlet |
Version 4.0.0.5 |
Set-LocalUserProfile
Synopsis
Set Profile Info for Local User
Syntax
Set-LocalUserProfile [-Name] <String> [[-ProfilePath] <String>] [[-LogonScript] <String>] [-ContinueOnError] [[-HomeLocalPath] <String>] [[-HomeDriveLetter] <String>] [[-HomeRemotePath] <String>] [[-Context] <String>] [<CommonParameters>]
Description
Use this command to assign a path for a user profile, a logon script name or a home directory to a local user account.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-HomeDriveLetter <String> |
||||||
Drive letter. |
||||||
|
-HomeLocalPath <String> |
||||||
If you want to specify a home directory for a specific workstation you must enter the local path in this text box. |
||||||
|
-HomeRemotePath <String> |
||||||
If you want to specify a home directory for a shared network drive you must enter a drive designation in the Connect text box and the network path in the To textbox. |
||||||
|
-LogonScript <String> |
||||||
Login script name Enter the name of the login script that can be assigned to one or more user accounts. When a user logs in, the location of the login script is defined by the workstation's login script path: C:\systemroot\SYSTEM32\REPL\IMPORT\SCRIPTS. If the login script resides in a subdirectory of the given login script path you must enter the name of the subdirectory in front of the login script name. |
||||||
|
-Name <String> |
||||||
Enter the user account name. |
||||||
|
-ProfilePath <String> |
||||||
Enter the path where you want to store the user profile. To activate a binding or server-based user profile you must enter a network path using the following syntax:\\Server_Name\ProfileDirectoryName\UserName. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |