Error: The handle is invalid when running in powershell

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
davidguthu
Posts: 1
Joined: Wed 16 Feb 2011 20:33

Error: The handle is invalid when running in powershell

Post by davidguthu » Wed 16 Feb 2011 20:37

The same command line works just fine from a regular dos window. Powershell commands:

$ScriptBlock = { C:\"Program Files"\Devart\"dbForge Data Compare for MySQL"\datacompare.com /datacompare /source host:localhost database:test1 user:root password:hidden /target host:localhost database:test2 user:root password:hidden }

Invoke-Command $ScriptBlock

I can't seem to find any reference to this error anywhere on the site.

Alexz
Devart Team
Posts: 165
Joined: Wed 10 Aug 2005 08:30

Post by Alexz » Thu 17 Feb 2011 08:47

Unfortunately, we cannot reproduce this problem with the latest version of dbForge Data Compare for MySQL v3.0.5 on Windows 7.
By the way, if everything works fine in a standard command line, it must work in PowerShell.
Be sure that you're using the latest version of PowerShell and it's compatible with your Windows version.

Post Reply