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