cancel
Showing results for 
Search instead for 
Did you mean: 

How to access SA from Powershell?

Former Member
2,265

In Powershell v5 I'm Trying to load the ianywhere provider dll. I'm getting this loader exception: Â : The term 'Â' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again

My load command is Add-Type -path "C:\\Temp\\sa\\iAnywhere.Data.SQLAnywhere.v4.0.dll" Of course, the ianywhere dll requires accompanying native dlls, which I have placed in the same folder. Those come in two versions, 32bit and 64 bit. I've tried both, and I've tried 32bit powershell and 64bit powershell. My shell is running as admin as well.

Breck_Carter
Participant
0 Kudos

WAG: -LiteralPath

FWIW this page is a marvellous example of the adage "If you can't make it simple, at least document it." 🙂

Former Member
0 Kudos

Thanks Breck, but -LIteralPath is not the solution.

Accepted Solutions (0)

Answers (0)