Disable-WssMsoUser

Disables an online service account.

Syntax

Disable-WssMsoUser
       [-WssUserName] <String>
       [<CommonParameters>]

Description

The Disable-WssMsoUser cmdlet disables the online service account that is assigned to a local user account. This prevents the disabled account from using the online portal.

Examples

Example 1: Disable a Microsoft account

PS C:\> Disable-WssMsoUser -WssUserName "PattiFuller"

This command disables the online service account that is assigned to the user account named PattiFuller.

Parameters

-WssUserName

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

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

WssUserName - local network account name of user.