PS-Commands/Scripts/Get-SQLiteTable.ps1

4 lines
156 B
PowerShell
Raw Normal View History

2023-08-17 13:45:36 +03:00
$path = "$home\Documents\Get-Service.db"
$TableName = "Service"
Import-Module MySQLite
Invoke-MySQLiteQuery -Path $path -Query "SELECT * FROM $TableName"