Set-WebSitesUser

Set-WebSitesUser

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>]


 

Detailed Description

The Set-WebSitesUser cmdlet updates the properties of a web sites user.

Parameters

-Name<String>

Specifies the name of a user.

 

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-PipelineVariable<String>

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

 

-PublishingPassword<String>

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

 

-PublishingUserName<String>

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

 

-Confirm

Prompts you for confirmation before executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-WhatIf

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

 

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Update the properties of a user

This command changes the publishing name and publishing password for User01.

PS C:\> Set-WebSitesUser -Name "User01" -PublishingUserName "NewPubUser01" -PublishingPassword "NewPassWord01!"

 

Related topics

New-WebSitesUser

Set-WebSitesUser

Remove-WebSitesUser