Edit

Share via


Set-WmsUser

Modifies a Windows MultiPoint Server user account.

Syntax

UseUserName

Set-WmsUser
    [-Name] <String>
    [-FullName <String>]
    [-Description <String>]
    [-UserType <UserTypePS>]
    [-Server <String>]
    [<CommonParameters>]

UseCreds

Set-WmsUser
    [-Credential] <PSCredential>
    [-FullName <String>]
    [-Description <String>]
    [-UserType <UserTypePS>]
    [-Server <String>]
    [<CommonParameters>]

Description

The Set-WmsUser cmdlet updates a local user on the current Windows MultiPoint Server system.

Examples

Example 1

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

-Credential

Specifies a PSCredential object. Use the Get-Credential cmdlet to get a PSCredential object.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UseCreds
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Specifies a description.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FullName

Specifies the full name of the user.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies a name for the user.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UseUserName
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Server

Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ComputerName

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-UserType

Specifies the user type. The acceptable values for this parameter are:

  • Administrator
  • Standard
  • DashboardUser

Parameter properties

Type:UserTypePS
Default value:None
Accepted values:Administrator, Standard, DashboardUser
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

Object