How can i get data from a iqy file??
[PS] E:\>dir *.iqy
Directory: E:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 10-May-10 10:07 AM 758 owssvr.iqy
[PS] E:\>$a = New-Object -ComObject excel.application
[PS] E:\>$iqy = $a.Workbooks.Open(".\owssvr.iqy")
Exception calling "Open" with "1" argument(s): "'.\owssvr.iqy' could
not be found. Check the spelling of the file name,
and verify that the file location is correct.
If you are trying to open the file from your list of most recently
used files on the File menu, make sure that the file
has not been renamed, moved, or deleted."
At line:1 char:25
+ $iqy = $a.Workbooks.Open <<<< (".\owssvr.iqy")
+ CategoryInfo : NotSpecified: ([],
MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
[PS] E:\>

[],
