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.
Error: The handle is invalid when running in powershell
-
- Posts: 1
- Joined: Wed 16 Feb 2011 20:33
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.
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.