Invoke-CDDeploy
From PowerGUI Wiki
Executes script on server.
Contents |
Syntax
Invoke-CDDeploy [-Target] <PSObject> [[-Script] [<PSObject>]] [-Path [<String>]] [<CommonParameters>]
Detailed Description
Executes specified script on server.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| Target | ChangeDirector database object that can be get by command Get-CDDatabase | true | false | |
| Script | Script for execution. | false | true (ByValue) | |
| Path | Path for file with script. | false | false |
Return Values
Execution result.
Examples
Example 1
$src=get-cddatabase servLov baseTest $target=get-cddatabase servRemote baseProduction get-cdsyncscript $src $target | invoke-cddeploy $target
Generates synchronization script and applies it on target server.
