Loading Existing Databases

To mount an existing SQLite database file, simply specify the file location of the database file in the call to new-psdrive or mount-sqlite.

See Creating Databases.

Last edited Jan 19, 2012 at 9:53 PM by beefarino, version 1

Comments

hsimah May 26, 2016 at 1:59 AM 
I'm a year late to this but the command is:
new-psdrive -name "name" -psp SQLite -root "Data Source=C:\psModules\test\test.db"

geopgin Feb 24, 2015 at 2:13 PM 
Hi, looks like this hasn't been touched in yrs, but i was hoping for a little support.

I'm running

Major Minor Build Revision
----- ----- ----- --------
3 8 0 129

And when trying to mount existing db getting

new-psdrive -name "C:\psModules\test\test.db" -psp SQLite -root "Data Source=data.sqlite"

new-psdrive : Cannot process drive name because the drive name contains one or more characters that are not valid; ~ / \ . :
At line:1 char:1
+ new-psdrive -name "C:\psModules\test\test.db" -psp SQLite -root "Data Source= ...

Any help would be appreciated, or maybe even pointed to another working solution

thanks