A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/v2kiran/PSLiteDB/wiki/Database-with-Password below:

Database with Password · v2kiran/PSLiteDB Wiki · GitHub

# you will be prompted for a credential. The username does not matter, only the password field is used to
# secure the database.
New-LiteDBDatabase -Path C:\temp\LiteDB\passDatabase.db -Credential (Get-Credential)

# Lets try to open the db without providing the password
Open-LiteDBConnection C:\temp\LiteDB\passDatabase.db
Error: Invalid database password.

# Open the db with the password
Open-LiteDBConnection C:\temp\LiteDB\passDatabase.db -Credential (Get-Credential)

Database    : C:\temp\LiteDB\passDatabase.db
ConnectionInfo : LiteDB.ConnectionString
Mapper      : LiteDB.BsonMapper
Engine      : LiteDB.LiteEngine
FileStorage : LiteDB.LiteStorage
UserVersion    : 0
Timeout        : 00:01:00
UtcDate        : False
LimitSize      : 9223372036854775807
CheckpointSize : 1000
Collation      : en-US/IgnoreCase

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4