Identifies the file that contains the XMLA script, MDX query, or DMX statement.You must specify a value for either the InputFile ...

Identifies the file that contains the XMLA script, MDX query, or DMX statement.You must specify a value for either the –InputFile or the –Query parameter when you use the Invoke-AsCmd. If you specify no –InputFile or –Query parameter, or specify both of these parameters, an error is generated.