The New-CMUserDataAndProfileConfigurationItem cmdlet creates a user data and profile configuration item that can apply to Windows 8 computers.
A configuration item can manage folder redirection, offline folders, and roaming user profiles.
You can modify settings for an existing configuration item by using the Set-CMUserDataAndProfileConfigurationItem cmdlet.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.
This command creates a configuration item named CMUserDataProfileCI07.
This configuration item manages folder redirection, offline folders, and roaming user profiles.
The command specifies redirect to remote for the Desktop folder.
The command includes a specified location and includes the UseSpecifiedLocation parameter with a value of $True.
Example 2: Specify settings for a configuration item
This command creates a configuration item named CMUserDataProfileCI27.
This configuration item manages folder redirection, offline folders, and roaming user profiles.
Like the previous example, this command specifies folder redirection settings, this time for several folders.
The command includes other settings for folder redirection, offline folders, and roaming user profiles.
Parameters
-AccessPolicy
Indicates whether this configuration item manages profile access settings for roaming profiles.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-AddAdminGroupToRupEnabled
Indicates whether to grant the Administrators group access to roaming profile folders.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-AllowAllDevice
Indicates whether to allow roaming profiles on all devices.
If this value is $False, roaming profiles apply only to the primary device for a user.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-AllowCrossForestUserPolicy
Indicates whether to permit user policies to roam across Active Directory forests that have a trust relationship with the current forest.
Specifies a background synchronization type for a file in offline mode.
The acceptable values for this parameter are: Disabled, Enabled, and NotConfigured.
Type:
SynchronizationType
Accepted values:
Enabled, Disabled, NotConfigured
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ConfigureFolderRedirection
Indicates whether the configuration item includes settings for folder redirection.
Type:
Boolean
Position:
Named
Default value:
None
Required:
True
Accept pipeline input:
False
Accept wildcard characters:
False
-ConfigureOfflineFile
Indicates whether the configuration item includes settings for offline folders.
Type:
Boolean
Position:
Named
Default value:
None
Required:
True
Accept pipeline input:
False
Accept wildcard characters:
False
-ConfigureRoamingUserProfile
Indicates whether the configuration item includes settings for roaming user profiles.
Type:
Boolean
Position:
Named
Default value:
None
Required:
True
Accept pipeline input:
False
Accept wildcard characters:
False
-Confirm
Prompts you for confirmation before running the cmdlet.
Specifies a file synchronization type for metered networks for work in offline mode.
The acceptable values for this parameter are: Disabled, Enabled, and NotConfigured.
Type:
SynchronizationType
Accepted values:
Enabled, Disabled, NotConfigured
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ForceUnloadDisabled
Indicates whether to disable forced unload of a user profile at logoff.
The default value for this parameter is $False.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type:
SwitchParameter
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-GrantExclusiveRight
Indicates whether to grant the user exclusive permissions to a redirected folder.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-LeaveFolderNewLocation
Indicates whether to leave the folder in the redirected location in the event you remove this configuration item.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-LimitDisk
Specifies a limit, in megabytes, for the disk space used for offline files.
Type:
Int32
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-Link
Type:
FolderRedirectionType
Aliases:
FolderRedirectionUserConfigurationForLinks, Links
Accepted values:
RedirectToRemote, RedirectToLocal, DoNotManage
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ManageAdvancedSetting
Indicates whether this configuration item manages advanced settings for folder redirection.
Specify values for any of the following parameters:
GrantExclusiveRight
MoveContent
LeaveFolderNewLocation
MoveCachedFolder
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ManageSlowLink
Indicates whether this profile item manages slow links.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-MoveCachedFolder
Indicates whether to move the cached folder when the path updates on the server.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-MoveContent
Indicates whether to move the contents of redirected folders to the new location.
Type:
Boolean
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-Music
Type:
FolderRedirectionType
Aliases:
FolderRedirectionUserConfigurationForMusic
Accepted values:
RedirectToRemote, RedirectToLocal, DoNotManage
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-Name
Specifies a name for the configuration item.
Type:
String
Aliases:
LocalizedDisplayName
Position:
Named
Default value:
None
Required:
True
Accept pipeline input:
False
Accept wildcard characters:
False
-OfflineFile
Specifies an array of Administrative user assigned offline folders, as UNC paths as follows: \\server\share%UserName%.
Type:
String[]
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-OnlyAllowLocalProfile
Type:
Boolean
Aliases:
OnlyAllowLocalProfiles
Position:
Named
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-OwnerCheckDisabled
Indicates whether the configuration item does not check for ownership of roaming profile folders.