Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the assignment between an online service account and an account.
Parameter Set: Default
Remove-WssMsoUserAssignment [-WssUserName] <String> [ <CommonParameters>]
The Remove-WssMsoUserAssignment cmdlet removes the online service account (the Microsoft account) from its assignment to a local network user account. This cmdlet does not otherwise modify or delete either account.
Specifies the name of a user account. The cmdlet removes the assignment to the online service account for 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 |
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).
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
WssUserName
Type: System.String
Description: local network account name of user
The output type is the type of the objects that the cmdlet emits.
- Note: If you run this command against a local network user account that does not have a Microsoft account it generates an error.
This command removes the assignment between the user account named PattiFuller and an online service account.
PS C:\> Remove-WssMsoUserAssignment -WssUserName "PattiFuller"
PS C:\>