Get-CDRepository
From PowerGUI Wiki
Gets object with server and repository base credentials for using with ChangeDirector's cmdlets.
Contents |
Syntax
Get-CDRepository [-Name] <String> [-RepositoryDatabase] <String> [[-Login] [<String>]] [[-Password] [<String>]] [<CommonParameters>]
Detailed Description
Gets object with server and repository base credentials for using with ChangeDirector's cmdlets.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| Name | Server name | true | false | |
| RepositoryDatabase | Change Director Database | true | false | |
| Login | SQL Server login name. If this parameter is omitted, Widows authentication will be used | false | false | |
| Password | Password | false | false |
Return Values
CDRepository object
Notes
If login/password information is omitted, Windows authentication will be used.
Examples
Example 1
Get-CDRepository hostname base1 myLogin pass
This script returns CDRepository object for server 'hostname' and repository database 'base1'. SQL Server authentication will be used.
