Citrix Virtual Apps and Desktops 2402 SDK

Test-CtxAppVServer

Tests the given URL for the presence of App-V Management and Publishing servers.

Syntax

Test-CtxAppVServer
    -AppVManagementServer <String>
    [<CommonParameters>]
<!--NeedCopy-->
Test-CtxAppVServer
    -AppVPublishingServer <String>
    [<CommonParameters>]
<!--NeedCopy-->

Description

Tests the given URL for the presence of App-V Management and Publishing Servers.

Examples

EXAMPLE 1

Tests whether “appv-mansrv” is a Management Server or not. The name can, but does not need to be specified as a Fully Qualified Domain Name (FQDN). No port number is required.

Test-CtxAppVServer -AppVManagementServer "appv-mansrv"
<!--NeedCopy-->

EXAMPLE 2

Tests whether “http://appv-pubsrv.mydomanin.com:8082” is a Publishing Server or not. Specify the full URL address, including FQDN and port number, of the Publishing Server.

Test-CtxAppVServer -AppVPublishingServer "http://appv-pubsrv.mydomanin.com:8082"
<!--NeedCopy-->

Parameters

-AppVManagementServer

Machine name of the App-V Management Server.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-AppVPublishingServer

The URL (including the port number) of the App-V Publishing Server.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

Boolean

Test-CtxAppVServer