# Invoke-RASADIntegrationSettings.md

## NAME

Invoke-RASADIntegrationSettings

## SYNOPSIS

Invoke an AD integration settings command.

## SYNTAX

\*\*Invoke-RASADIntegrationSettings -[Validate](#validate-string) *(SwitchParameter)* \[[CertificateAuthority](#certificateauthority-string) *(string)*] \[[EnrollmentAgentPassword](#enrollmentagentpassword-string) *(SecureString)*] \[[EnrollmentAgentUsername](#enrollmentagentusername-string) *(string)*] \[[EnrollmentServerId](#enrollmentserverid-string) *(uint)*] \[[NLAPassword](#nlapassword-string) *(SecureString)*] \[[NLAUsername](#nlausername-string) *(string)*] \[[SiteId](#siteid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Invoke an AD integration settings command using the specified parameters and their values.

## PARAMETERS

## Validate (SwitchParameter)

Specifies to validate the AD integration settings.

```
        Required?                    true

        Position?                    named

        Default value                False

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## EnrollmentServerId (uint)

The ID of the Enrollment Agent that will validate AD integration settings.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID in which to validate 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

[ADIntegrationSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/adintegrationsettings)

## EXAMPLES

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

Invoke-RASADIntegrationSettings -Validate

Validate the AD integration settings for the current site.

## RELATED LINKS

* [Get-RASADIntegrationSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rasadintegrationsettings)
* [Set-RASADIntegrationSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rasadintegrationsettings)
