Skip to content

Instantly share code, notes, and snippets.

@jirolabo
Created April 11, 2018 14:16
Show Gist options
  • Save jirolabo/4aecb72f43b3bd4d1876d3df9c67e767 to your computer and use it in GitHub Desktop.
Save jirolabo/4aecb72f43b3bd4d1876d3df9c67e767 to your computer and use it in GitHub Desktop.
Show *.mdb file Access version by PowerShell
$dao = new-object -comobject DAO.DBEngine.36
$db = $dao.OpenDatabase("sample.mdb")
$db.Properties("AccessVersion")
#Version 02.00 for Access 2.0
#Version 06.68 for Access 95
#Version 07.53 for Access 97 (8.0)
#Version 08.50 for Access 2000 (9.0)
#Version 09.50 for Access 2002/2003 (10.0/11.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment