V9.6
Module
Description
Adds a file storage configuration for each of the Cora SeQuence applications installed on the server, except ADSS.
Syntax
Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName <String> -ConnectionType <String> -RelativePath <String> -Connection <String> -ApplicationType <String> [-ApplicationID <Int32>] [-AllInstances] [<CommonParameters>]
Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName <String> -ConnectionType <String> -RelativePath <String> -Connection <String> [<CommonParameters>]
Parameters
-ConfigurationName <String>
Sets the name of the file storage provider.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ConnectionType <String>
Determines the type of connection, such as AzureFileStorage, AzureBlobStorage, FTP, SFTP, NetworkStorage.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RelativePath <String>
Sets the relative path to the file storage location.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Connection <String>
Sets the connection string to the file storage location.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
NOTE
- For network locations, the connection string must include the
BasePath
parameter.
Following is the connection string syntax:Host=[server name]; BasePath=[share name];CredentialsType=[application or store];CredentialsName=[name]
- Azure file storage account name is case sensitive, make sure to use lowercase only.
- For Azure File Storage and Azure Blob Storage, make sure to encrypt the AccountKey attribute in the Cora SeQuence toolkit before passing in the Connection parameter.
-ApplicationType <String>
Determines the type of application to which the configuration will be added. If application type is not provided, the configuration is added to all installed applications.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ApplicationID <Int32>
Sets the numeric ID for a specific instance of the application type. This parameter is ignored if AllInstances is used.
Required? | true |
Position? | named |
Default value | 1 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-AllInstances [<SwitchParameter>]
Sets configuration to all instances of the specified application.
Required? | false |
Position? | named |
Default value | False |
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.
Example
PS C:\>Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName "FileShare" -ConnectionType "NetworkStorage" -RelativePath "CoraSeQuenceFiles" -Connection "\\MyFilesServer"
PS C:\>Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName "FileShare" -ConnectionType "NetworkStorage" -RelativePath "CoraSeQuenceFiles" -Connection "Host=\\hostname;BasePath=UploadFiles;CredentialsType=Application"
PS C:\>Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName "Blob Storage" -ConnectionType "AzureBlobStorage" -RelativePath "prd" -Connection "BlobEndpoint=https://xxxxxxxxxxx.blob.core.windows.net/;BasePath=;DefaultEndpointsProtocol=https;AccountName=xxxxxxx;AccountKey=XXXXXXX"
V9.2
Module
Description
Adds a file storage configuration for each of the Cora SeQuence applications installed on the server, except ADSS.
Syntax
Add-CoraSeQuenceFilesStorageConfiguration [-ConfigurationName] <String> [-ConnectionType] <String> [-RelativePath] <String> [-Connection] <String> [<CommonParameters>]
Parameters
-ConfigurationName <String>
Sets the name of the file storage provider.
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ConnectionType <String>
Determines the type of connection, such as AzureFileStorage, AzureBlobStorage, FTP, SFTP, NetworkStorage.
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RelativePath <String>
Sets the relative path to the file storage location.
Required? | true |
Position? | 3 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Connection <String>
Sets the connection string to the file storage location.
Required? | true |
Position? | 4 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
NOTE
- For network locations, the connection string must include the
BasePath
parameter.
Following is the connection string syntax:Host=[server name]; BasePath=[share name];CredentialsType=[application or store];CredentialsName=[name]
- Azure file storage account name is case sensitive, make sure to use lowercase only.
<CommonParameters>
This command supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
For more information, see about_CommonParameters.
Example
PS C:\>Add-CoraSeQuenceFilesStorageConfiguration -ConfigurationName "FileShare" -ConnectionType "NetworkStorage" -RelativePath "CoraSeQuenceFiles" -Connection "\\MyFilesServer"