CleanCode PowerShell Libraries v1.2.08 API: CleanCode » SqlTools » Update-DBEnvironment
Reference to a character string specifying the name of an instance of
the Database Engine. For default instances, only specify the computer name:
"MyComputer". For named instances, use the format "ComputerName\InstanceName".
If -ServerInstance is not specified Update-DBEnvironment attempts to infer it:
* If on a SQLSERVER: drive (or alias) and the path specifies the SQL folder,
Update-DBEnvironment uses the server and instance specified in the path.
* If not on a SQLSERVER: drive but the current location on your SQLSERVER:
drive specifies the SQL folder, Update-DBEnvironment uses the server and instance
specified in that path.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
Reference to a character string specifying the name of a database.
Update-DBEnvironment connects to this database in the instance specified by -ServerInstance.
If -Database is not specified Update-DBEnvironment attempts to infer it:
* If on a SQLSERVER: drive (or alias) and the path specifies both the SQL folder
and a database name, Update-DBEnvironment uses the database specified in the path.
* If not on a SQLSERVER: drive but the current location on your SQLSERVER:
drive specifies both the SQL folder and a database name, Update-DBEnvironment uses
the database specified in that path.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
This function is part of the CleanCode toolbox
from http://cleancode.sourceforge.net/.
Since CleanCode 1.1.05.
-none-
This documentation set was created with CleanCode's DocTreeGenerator.