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.
Modifies the online service account for a user.
Parameter Set: Default
Rename-WssMsoAssignedUser [-WssUserName] <String> [-NewMsoUserName] <String> [ <CommonParameters>]
The Rename-WssMsoAssignedUser cmdlet modifies the online service account assigned to a local network user account in .
Specifies an online service account, as a user principal name (UPN). The cmdlet assigns the UPN that you specify to the user that the WssUserName parameter specifies.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the name of a user account. The cmdlet updates 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.
This command modifies the online service account for the user account named DavidChew.
PS C:\> Update-WssMSOAccountName -WssUserName "DavidChew" -NewMsoUserName "DavidChew@TSQA.Contoso.com"
PS C:\>