Skip to content

Request-SqlDscRSDatabaseScript: New command proposal #2017

@johlju

Description

@johlju

Command proposal

Command for returning a database script that can later be run on a SQL Server Database Engine instance.

Could use the code here:

Write-Verbose -Message "Generate database creation script on $DatabaseServerName\$DatabaseInstanceName for database '$reportingServicesDatabaseName'."
$invokeRsCimMethodParameters = @{
CimInstance = $reportingServicesData.Configuration
MethodName = 'GenerateDatabaseCreationScript'
Arguments = @{
DatabaseName = $reportingServicesDatabaseName
IsSharePointMode = $false
Lcid = $language
}
}
$reportingServicesDatabaseScript = Invoke-RsCimMethod @invokeRsCimMethodParameters

Proposed parameters

Parameter Mandatory Data type Description Default value Allowed values
ParameterName Yes String Detailed description None None

Special considerations or limitations

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    command proposalThe issue is proposing to add a new command to the module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions