Online Help > PowerShell Scripting

New-RDMDataSource

SYNOPSIS

Create a new datasource instance.

 

SYNTAX

New-RDMDataSource -Access [Access] <SwitchParameter> -AccessKeyID [AccessKeyID] <String> -BucketName [BucketName] <String> -Database [Database] <String> -DatabaseID [DatabaseID] <String> -DODB [DODB] <SwitchParameter> -DontSavePassword [DontSavePassword] <SwitchParameter> -Dropbox [Dropbox] <SwitchParameter> -DVLS [DVLS] <SwitchParameter> -Filename [Filename] <String> -FTP [FTP] <SwitchParameter> -FTPHost [FTPHost] <String> -FTPPath [FTPPath] <String> -Hostname [Hostname] <String> -IntegratedSecurity [IntegratedSecurity] <SwitchParameter> -KeyName [KeyName] <String> -MySQL [MySQL] <SwitchParameter> -Name [Name] <String> -Password [Password] <SecureString> -S3 [S3] <SwitchParameter> -Schema [Schema] <String> -SecretAccessKey [SecretAccessKey] <SecureString> -Server [Server] <String> -SetDatasource [SetDatasource] <SwitchParameter> -SFTP [SFTP] <SwitchParameter> -SQLite [SQLite] <SwitchParameter> -SQLServer [SQLServer] <SwitchParameter> -URLFilename [URLFilename] <String> -UserEditable [UserEditable] <SwitchParameter> -Username [Username] <String> -Web [Web] <SwitchParameter> -XML [XML] <SwitchParameter> [<CommonParameters>]

 

DESCRIPTION

Create a new datasource instance. The instance has not yet been saved. Assign the result to a variable then call "Set-RDMDatasource $s" to save the datasource.

 

PARAMETERS

  -Access <SwitchParameter>

(Required) Create a Microsoft Access data source

 

  -AccessKeyID <String>

(Required) Enter the Amazon S3 Access Key ID.

 

  -BucketName <String>

(Required) Enter the bucket's name created on Amazon S3 website and used by the application

 

  -Database <String>

(Required) Indicates the filename of the SQLite database (.db).

 

  -DatabaseID <String>

(Required) Unique Key to identify the data source.

 

  -DODB <SwitchParameter>

(Required) Create a Devolutions Online Database data source

 

  -DontSavePassword <SwitchParameter>

Don't save the password in the SQL Server data source settings

 

  -Dropbox <SwitchParameter>

(Required) Create a Dropbox data source

 

  -DVLS <SwitchParameter>

(Required) Create a DVLS data source

 

  -Filename <String>

(Required) XML Filename

 

  -FTP <SwitchParameter>

(Required) Create a FTP data source

 

  -FTPHost <String>

(Required) FTP server name to access the XML file.

 

  -FTPPath <String>

(Required) FTP server name to access the XML file.

 

  -Hostname <String>

(Required) Name of the server where the data source will be store.

 

  -IntegratedSecurity <SwitchParameter>

Specify to use Windows Integrated Authentication for authenticating to the data source

 

  -KeyName <String>

Name of the file that will used be store the data on Amazon S3.

 

  -MySQL <SwitchParameter>

(Required) Create a MySQL data source

 

  -Name <String>

(Required) Name of the data source.

 

  -Password <SecureString>

(Required) Password used to access the FTP server.

 

  -S3 <SwitchParameter>

(Required) Create a Amazon S3 data source

 

  -Schema <String>

(Required) Name of the schema on the MySQL server for the utilization of Remote Desktop Manager.

 

  -SecretAccessKey <SecureString>

(Required) Enter the Amazon S3 Access Key ID.

 

  -Server <String>

(Required) Name of Devolutions Server instance.

 

  -SetDatasource <SwitchParameter>

Save the data source.

 

  -SFTP <SwitchParameter>

(Required) Create a SFTP data source

 

  -SQLite <SwitchParameter>

(Required) Create a SQLite data source

 

  -SQLServer <SwitchParameter>

(Required) Create a SQL Server data source

 

  -URLFilename <String>

(Required) Indicate the web location of the data source and the name of data source file.

 

  -UserEditable <SwitchParameter>

Editable username

 

  -Username <String>

(Required) Username used to access the FTP server.

 

  -Web <SwitchParameter>

(Required) Create a Web data source

 

  -XML <SwitchParameter>

(Required) Create a XML data source

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help New-RDMDataSource -detailed". For technical information, type "Get-Help New-RDMDataSource -full".

 

RELATED LINKS

Set-RDMDataSource