Enable-WssMsoUser

Enable-WssMsoUser

Enables an online service account.

Syntax

Parameter Set: Default
Enable-WssMsoUser [-WssUserName] <String> [ <CommonParameters>]

Detailed Description

The Enable-WssMsoUser cmdlet enables the online service account that is assigned to a local network user account. You can use this command after disabling an account with Disable-WssMsoUser.

Parameters

-WssUserName<String>

Specifies the name of a user account. The cmdlet enables the online service account that is assigned to the user account that you specify.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

    WssUserName – the local account name of user to be enabled.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Enable an online service account

This command enables the online service account that is assigned to the user account named DavidChew.

PS C:\> Enable-WssMsoUser -WssUserName "DavidChew"

Add-WssMsoUser

Disable-WssMsoUser

Get-WssMsoUser

Remove-WssMsoUser