Get-Wms User

Gets local user account information.

Syntax

Get-WmsUser
   -Name <String>
   [-Server <String>]
   [<CommonParameters>]
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.

Required Parameters

-All

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

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name

Specifies the name of the user to get.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Optional Parameters

-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
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

Inputs

None.

Outputs

This cmdlet returns a WmsUser collection as PSObject collection.