Genpact Cora Knowledge Center

Support

PowerShell Function: Disable-CoraSeQuenceWebApiCORS

V9.6

Method

CoraSeQuence.sites

Description

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

Syntax

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

Parameters

-SiteID <Int32>

Sets the numeric ID of the site instance. If not provided, it is applied to 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:\>Disable-CoraSeQuenceWebApiCORS


V9.3

Method

CoraSeQuence.sites

Description

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

Syntax

 Disable-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:\>Disable-CoraSeQuenceWebApiCORS