SALES: 1-800-867-1380
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Update-WFHost

Updated: August 30, 2012

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Update-WFHost

This cmdlet is used for updating the password of the service’s RunAs account, or for updating auto generated certificates.

Syntax

Parameter Set: Default
Update-WFHost [-CertificateAutoGenerationKey <SecureString> ] [-RunAsPassword <SecureString> ] [-WFFarmDBConnectionString <String> ] [ <CommonParameters>]




Detailed Description

Run Update-WFHost to update the password of the service’s RunAs account, or to update auto generated certificates.

Parameters

-CertificateAutoGenerationKey<SecureString>

This parameter represents the password that will be used to securely store the auto generated certificate in the database.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RunAsPassword<SecureString>

The password of the service’s RunAs account.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WFFarmDBConnectionString<String>

Aliases

none

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1

Update the RunAs password.


PS C:\> $mypassword=ConvertTo-SecureString -string myAccountPassword1 -force –AsPlainText; Update-WFHost -RunAsPassword $mypassword

Example 2

Update with the new Cert key


PS C:\> $mycert=ConvertTo-SecureString -string myPassword1 -force –AsPlainText; Update-WFHost -CertAutogenerationKey $mycert

Example 3

Update all other settings on the host.


PS C:\> Update-WFHost

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft