Cora Knowledge Center

Support

PowerShell Function: Set-CoraSeQuenceExternalResourcesLocation

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"