July 2017
Intermediate to advanced
648 pages
31h 9m
English
To move the database file and log stream for the DB1 database to a new location, use the following command syntax:
Move-DatabasePath -Identity DB1 `
-EdbFilePath F:\Databases\DB1\Database\DB1.edb `
-LogFolderPath F:\Databases\DB1\Logs `
-Confirm:$false `
-Force
After executing the preceding command, the DB1 database and log files will be moved to the F:\Databases\DB1\Database directory, without prompting you for confirmation.
Read now
Unlock full access