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
WssUserName - local network account name of user.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for