Get-CDCreateScript

From PowerGUI Wiki

Jump to: navigation, search

Returns a Change Director script object

Contents

Syntax

Get-CDCreateScript [-ScriptPath] <String> [-ServerVersion [<Int32>]] [-DefaultCollation [<String>]] [<CommonParameters>]

Detailed Description

Returns a Change Director script (CDScript) object with the script you want to use in the comparison. The CDScript object is used in other Change Director CLI commands.



Related Commands

Parameters

Name Description Required? Pipeline Input Default Value
ScriptPath A full path to the script file. true false
ServerVersion (Optional) SQL Server version used to develop the script. false false
DefaultCollation (Optional) SQL Server collation used to develop the script. false false

Examples

Example 1

Get-CDCreateScript C:\test.sql

Get a CDScript object for the C:\test.sql script

Personal tools