Skip to content

Instantly share code, notes, and snippets.

@mvillegascuellar
Created September 13, 2018 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mvillegascuellar/3c320ecb3c54898c209e39e557755f9b to your computer and use it in GitHub Desktop.
Save mvillegascuellar/3c320ecb3c54898c209e39e557755f9b to your computer and use it in GitHub Desktop.
# Definir algunas variables
$rsuri = 'http://MiServidorSSRS/ReportServer'
# Guardar los reportes de la carpeta original en una variable
$reports = Get-RsFolderContent -ReportServerUri $rsuri -RsFolder '/CarpetaOriginal' |
Where-Object TypeName -EQ 'Report'
# Descargar los reportes en una carpeta local
$reports | ForEach-Object { Out-RsCatalogItem -ReportServerUri $rsuri -RsItem $_.Path -Destination 'F:\Tmp\SSRS' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment