Genpact Cora Knowledge Center

Support

PowerShell Function: Enable-CoraSeQuenceWebApiCORS

V9.6

Method

CoraSeQuence.sites

Description

Enables Cross-Origin Resource Sharing (CORS) for all options and all headers on the Cora SeQuence WebAPI site.

Syntax

Enable-CoraSeQuenceWebApiCORS [[-SiteID] <Int32>] [<CommonParameters>]

Parameters

-SiteID <Int32>

Sets the numeric ID of the site instance. If not provided, it is set for all instances.

Required?false
Position? 1
Default value0
Accept pipeline input? false
Accept wildcard characters?  false


<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceWebApiCORS 


V9.3

Method

CoraSeQuence.sites

Description

Enables Cross-Origin Resource Sharing (CORS) for all options and all headers on the Cora SeQuence WebAPI site.

Syntax

Enable-CoraSeQuenceWebApiCORS [<CommonParameters>]

Parameters

<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceWebApiCORS