Updates the properties of a web sites user.
Syntax
Parameter Set: Default
Set-WebSitesUser [-Name] <String> [[-PublishingUserName]
<String> ] [[-PublishingPassword] <String> ]
[-PipelineVariable <String> ] [-Confirm] [-WhatIf] [
<CommonParameters>]
The Set-WebSitesUser cmdlet updates the properties of a web sites user.
Specifies the name of a user.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a variable to be used with the pipeline operator.
Aliases |
pv |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies a publishing password for a user.
Aliases |
none |
Required? |
false |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a publishing name for a user.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Describes what would happen if you executed the command without actually executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This command changes the publishing name and publishing password for User01.
PS C:\> Set-WebSitesUser -Name "User01" -PublishingUserName "NewPubUser01" -PublishingPassword "NewPassWord01!"