Genpact Cora Knowledge Center

Support

PowerShell Function: Set-CoraSeQuenceExternalResourcesLocation

V9.6

Module

CoraSeQuence.Sites

Description

Sets the location of the external resources virtual directory.

Syntax

Set-CoraSeQuenceExternalResourcesLocation [-SiteType <Object>] -DestinationPath <String> [-Credentials <PSCredential>] [<CommonParameters>]
Set-CoraSeQuenceExternalResourcesLocation -SiteType <Object> -DestinationPath <String> [-Credentials <PSCredential>] [-AllInstances] [<CommonParameters>]
Set-CoraSeQuenceExternalResourcesLocation -SiteType <Object> -DestinationPath <String> [-Credentials <PSCredential>] [-SiteID <Int32>] [<CommonParameters>]

Parameters

-SiteType <Object>

Determines which Cora SeQuence site to set the location for: Flowtime or Administration or WebAPI. If this parameter is not provided, the function sets the location to all the sites.

Required?false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?  false


-DestinationPath <String>

The physical path of the external resources virtual directory.

Required?true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?  false


-Credentials <PSCredential>

If required, provides the credentials to be used to access theDestinationPath. That is, the user defined in the Connect As property.

For on-premises implementations, the user that connects from:

  • The Administration application, needs read/write permissions.
  • The Flowtime application, needs read permissions only.
Required?false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?  false


NOTE
If you do not enter credentials, the system uses the credentials currently configured. 

-SiteID <Int32>

Sets the numeric ID of the site instance.

Required?false
Position? named
Default value1
Accept pipeline input? false
Accept wildcard characters?  false


-AllInstances [<SwitchParameter>]

If provided, this parameter sets all instances of the site provided in the SiteType parameter.

Required?false
Position? named
Default valueFalse
Accept pipeline input? false
Accept wildcard characters?  false


<CommonParameters>

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

Examples

PS C:\>Set-CoraSeQuenceExternalResourcesLocation -SiteType Administration -DestinationPath "\\MyServer\ExternalResources" -Credentials (Get-Credential)
PS C:\>Set-CoraSeQuenceExternalResourcesLocation -DestinationPath "C:\ExternalResources"


V9.0

Module

CoraSeQuence.Sites

Description

Sets the location of the external resources virtual directory.

Syntax

Set-CoraSeQuenceExternalResourcesLocation [[-SiteType] <Object>] [-DestinationPath] <String> [[-Credentials] <PSCredential>] [<CommonParameters>]

Parameters

-SiteType <Object>

Determines which Cora SeQuence site to set the location for: Flowtime or Administration. If this parameter is not provided, the function sets the location to both sites.

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

-DestinationPath <String>

The physical path of the external resources virtual directory.

Required?true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?  false

-Credentials <PSCredential>

If required, provides the credentials to be used to access theDestinationPath. That is, the user defined in the Connect As property.

For on-premises implementations, the user that connects from:

  • The Administration application, needs read/write permissions.
  • The Flowtime application, needs read permissions only.
Required?false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters?  false


NOTE
If you do not enter credentials, the system uses the credentials currently configured. 

<CommonParameters>

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

Examples

PS C:\>Set-CoraSeQuenceExternalResourcesLocation -SiteType Administration -DestinationPath "\\MyServer\ExternalResources" -Credentials (Get-Credential)
PS C:\>Set-CoraSeQuenceExternalResourcesLocation -DestinationPath "C:\ExternalResources"