Invoke-RDMCreateDataSourceDatabase
Sintesi
Creare un nuovo database
Sintassi
__AllParameterSets
Invoke-RDMCreateDataSourceDatabase [-DataSource] <PSDataSource>
[[-AzureDatabaseEdition] <AzureDatabaseEdition>]
[[-AzureDatabaseServiceObjective] <AzureDatabaseServiceObjective>]
[[-AzureDatabaseMaxSize] <AzureDatabaseMaxSize>] [-ForcePromptAnswer <DialogResult[]>]
[<CommonParameters>]Esempi
PS C:\> $ds = New-RDMDataSource -SQLServer -Database 'PSTestCreation5' -Name 'PSSQLServerCreation' -Server 'localhost' -Username 'sa' -Password (ConvertTo-SecureString 'masterkey' �asplaintext �force); Invoke-RDMCreateDataSourceDatabase -DataSource $dsCreare uno spazio di lavoro SQL Server e creare il database
Parametri
-AzureDatabaseEdition
Edizione del database Azure.
-AzureDatabaseMaxSize
Dimensione massima del database Azure.
-AzureDatabaseServiceObjective
Obiettivo di servizio del database Azure.
-DataSource
Oggetto PSSession, deve essere recuperato da Get-RDMSession o creato tramite New-RDMSession che si desidera rendere senza elemento padre.
-ForcePromptAnswer
Opzione da usare con cautela. Risponderà automaticamente ai prompt che pongono domande sì/no, sì/no/annulla oppure ok/annulla. In caso di più prompt, è possibile passare più valori a questo parametro. Ecco i valori accettati:
Yes: accetta il prompt. Copre il valore OK e Automatic.
No: rifiuta il prompt sì/no/annulla. "Cancel" è l'opzione di ripiego se non è presente l'opzione "No".
Cancel: annulla il prompt sì/no/annulla. "No" è l'opzione di ripiego se non è presente l'opzione "Cancel".
CommonParameters
Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, consulti about_CommonParameters.
Note
Per maggiori informazioni, digiti "Get-Help Invoke-RDMCreateDataSourceDatabase -detailed". Per informazioni tecniche, digiti "Get-Help Invoke-RDMCreateDataSourceDatabase -full".
Ultimo aggiornamento
È stato utile?