Edit

Share via


Get-WmsUser

Gets local user account information.

Syntax

GetUser

Get-WmsUser
    -Name <String>
    [-Server <String>]
    [<CommonParameters>]

GetAllUsers

Get-WmsUser
    [-All]
    [-Server <String>]
    [<CommonParameters>]

Description

The Get-WmsUser cmdlet gets local user account information for a specified user or all users.

Examples

Example 1: Get all local user account information

PS C:\> Get-WmsUser -All
Name         : Administrator
Password     :
FullName     :
Description  : Built-in account for administering the computer/domain
UserType     : Administrator
ComputerName : Test1
Name         : Guest
Password     :
FullName     :
Description  : Built-in account for guest access to the computer/domain
UserType     : Standard
ComputerName : Test1

This command gets all local user account information.

Parameters

-All

Indicates that this operation applies to all sessions on the target host.

Parameter properties

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

Parameter sets

GetAllUsers
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of the user to get.

Parameter properties

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

Parameter sets

GetUser
Position:Named
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

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

None

Outputs

WmsUser

This cmdlet returns a WmsUser collection as PSObject collection.