# Set-RASLetsEncryptSettings

## NAME

Set-RASLetsEncryptSettings

## SYNOPSIS

Modifies the Let's Encrypt settings.

## SYNTAX

**Set-RASLetsEncryptSettings**\
\[[AutoRenewCertBeforeExpirationDays](#autorenewcertbeforeexpirationdays-string)_(uint)_]\
\[-[ExpirationEmails](#ExpirationEmails)_(string\[])_]\
\[[Replicate](#replicate-string) _(bool)_]\
\[[SiteId](#siteid-string) _(uint)_]\
\[[TermsAccepted](#termsaccepted-string)_(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Modifies the Let's Encrypt settings using the specified parameters and\
their values.

All parameters are optional.

## PARAMETERS

## SiteId (uint)

Site ID in which to modify the specified Let's Encrypt settings.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TermsAccepted (bool)

Whether Let's Encrypt Terms are accepted.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ExpirationEmails (string\[])

The list of email addresses where expiration emails will be sent.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AutoRenewCertBeforeExpirationDays (uint)

The amount of days before expiration for automatic renewal to take\
place. Accepted values: 1-60 days; 0 for 'Never'.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Replicate (bool)

\>Whether Replicate is enabled.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Set-RASLetsEncryptSettings -SiteID 1 -TermsAccepted $true

Modifies the Let's Encrypt terms accepted to true.

## RELATED LINKS

* [Get-RASLetsEncryptSettings](get-rasletsencryptsettings)
* [Get-RASLetsEncryptEULA](get-rasletsencrypteula)
