Remove-WssMsoUser
Removes an online service account.
Remove-WssMsoUser
[-WssUserName] <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Remove-WssMsoUser cmdlet removes an online service account from aad_1. Specify the name of the local network user account that the account is assigned to.
PS C:\> Remove-WssMsoUser -WssUserName "EvanNarvaez"
This command removes the online service account that is assigned to the local network account named EvanNarvaez.
PS C:\>
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a user account. The cmdlet removes 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 |
WssUserName Type: System.String Description: local network account name of user