# Set-RASADIntegrationSettings

## NAME

Set-RASADIntegrationSettings

## SYNOPSIS

Modifies the AD integration settings.

## SYNTAX

**Set-RASADIntegrationSettings** \[-[CertificateAuthority](#CertificateAuthority) _\<string>_] \[-[EnrollmentAgentPassword](#EnrollmentAgentPassword) _\<SecureString>_] \[-[EnrollmentAgentUsername](#EnrollmentAgentUsername) _\<string>_] \[-[NLAPassword](#NLAPassword) _\<SecureString>_] \[-[NLAUsername](#NLAUsername) _\<string>_] \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Modifies the AD integration settings using the specified parameters and their values.

All parameters are optional.

## PARAMETERS

-**SiteId \<uint>**\
Site ID in which to modify the specified AD integration settings.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**CertificateAuthority \<string>**\
Certificate authority

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**EnrollmentAgentUsername \<string>**\
Username of the enrollment agent

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**EnrollmentAgentPassword \<SecureString>**\
Password of the account specified in the EnrollmentAgentUsername parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**NLAUsername \<string>**\
Principal name in UPN format used to initialize the RDP session.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**NLAPassword \<SecureString>**\
Password of the account specified in the NLAUsername parameter.

```
        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-RASADIntegrationSettings -SiteID 1 -EnrollmentAgentUsername "EAUsername"

Modifies the enrollment agent's username in the AD integration settings.

## RELATED LINKS

* [Get-RASADIntegrationSettings](get-rasadintegrationsettings)
* [Invoke-RASADIntegrationSettings](invoke-rasadintegrationsettings)
