New-WmsUser
Modifies a Windows MultiPoint Server user account.
Syntax
New-WmsUser
[-Credential] <PSCredential>
[-UserType] <UserTypePS>
[[-FullName] <String>]
[[-Description] <String>]
[-Server <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-WmsUser cmdlet updates a local user on the current Windows MultiPoint Server system.
Examples
Example 1: Modify a user account
PS C:\> Set-WmsUser -Name "Student01" -Description "New Student" -FullName "Patti Fuller"
This command updates a user account with the description New Student, the name as Student01, and the full name as Patti Fuller.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies a PSCredential object. Use the Get-Credential cmdlet to get a PSCredential object.
Type: | PSCredential |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Specifies a description.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FullName
Specifies the full name of the user.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Server
Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.
Type: | String |
Aliases: | ComputerName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UserType
Specifies the user type. The acceptable values for this parameter are:
- Administrator
- Standard
- DashboardUser
Type: | UserTypePS |
Accepted values: | Administrator, Standard, DashboardUser |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |