# Invoke-RASTestDetectClientIP

## NAME

Invoke-RASTestDetectClientIP

## SYNOPSIS

Tests a URL that leads to a client IP detection service.

## SYNTAX

**Invoke-RASTestDetectClientIP** -[Private](#private-string) *(SwitchParameter)* -[ThemeId](#themeid-string) *(uint)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Invoke-RASTestDetectClientIP** -[Public](#public-string) *(SwitchParameter)* -[ThemeId](#themeid-string) *(uint)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Invoke-RASTestDetectClientIP** -[ServiceURL](#serviceurl-string) *(string)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Tests a URL that leads to a client IP detection service.

If the URL is correct and the service works as expected, the test should return the IP of the Connection Broker.

## PARAMETERS

## ServiceURL (string)

Service URL that leads to a client IP detection service.

If Service URL is not specified, parallels detection mode will be used.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ThemeId (uint)

Theme Id

The parallels detection mode will be used if Client IP detection is Disabled, set to Parallels, or set to Custom with an empty custom URL

The command does not execute if the private service URL is not specified.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Private (SwitchParameter)

Private SwitchParameter.

```
        Required?                    true

        Position?                    named

        Default value                False

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Public (SwitchParameter)

Public SwitchParameter.

```
        Required?                    true

        Position?                    named

        Default value                False

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

Invoke-RASTestDetectClientIP -ServiceURL "[www.url.com](http://www.url.com)"

Tests the Service URL that leads to a client IP detection service.

## RELATED LINKS

-none-
