Get-WssUser
Retrieves a user account by name or security identifier.
PowerShell
Get-WssUser []
PowerShell
Get-WssUser
[-Name] <String>
[<CommonParameters>]
PowerShell
Get-WssUser
[-Sid] <String>
[<CommonParameters>]
The Get-WssUser cmdlet retrieves a sbs_sbs8_2 server user account. To retrieve a user account by name, specify the login name. To retrieve a user account by security identifier, specify the SID. To retrieve all user accounts, use the cmdlet without arguments.
PowerShell
PS C:\> Get-WSSUser -Name "SarahJones"
This command retrieves a user account by name.
Specifies the logon name of a user.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the security identifier of a user.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.WindowsServerSolutions.Users.User
This cmdlet generates the server user object with the specified properties.