Do you want to request a feature or report a bug? - bug
What is the current behavior?
Getting exception while trying to execute Get-RsFolderContent command
Method invocation failed because [System.Int32] does not contain a method named 'ListChildren'.
At C:\Program Files\WindowsPowerShell\Modules\ReportingServicesTools\0.0.8.0\Functions\CatalogItems\Get-RsFolderContent.ps1:85 char:17
$Proxy.ListChildren($Item, $Recurse)
CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : MethodNotFound
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
$Recurse=1
Get-RsFolderContent -ReportServerUri "serverurl" -RsFolder "/" -Recurse $Recurse
What is the expected behavior?
to view the list of reports
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
Name Value
Do you want to request a feature or report a bug? - bug
What is the current behavior? Getting exception while trying to execute Get-RsFolderContent command
Method invocation failed because [System.Int32] does not contain a method named 'ListChildren'. At C:\Program Files\WindowsPowerShell\Modules\ReportingServicesTools\0.0.8.0\Functions\CatalogItems\Get-RsFolderContent.ps1:85 char:17 $Proxy.ListChildren($Item, $Recurse) CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException FullyQualifiedErrorId : MethodNotFound
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. $Recurse=1 Get-RsFolderContent -ReportServerUri "serverurl" -RsFolder "/" -Recurse $Recurse
What is the expected behavior? to view the list of reports
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts? Name Value
PSVersion 5.1.17763.5458 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.5458 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Pls find the below screenshot where i tried with all different parameter combination & their respective exception message