1

What are the ways to pull info from an Access DB to powershell?

2 Answers 2

1

There isn't a built-in cmdlet to do this. However you still have several options.

  1. Use sqlcmd.exe - it stills works in PowerShell

  2. SQL PowerShell Extensions

  3. Use Invoke-AdoCommand - this is in the PowerShell Community Extensions

  4. Drop down to the ADO.NET classes and program it.

Fortunately somebody else has written up that last one.

Sign up to request clarification or add additional context in comments.

Comments

1

You've already got an answer that works but also visit Richard Siddaway's Blog Of PowerShell and Other Things with the Access tag

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.