ARI icon indicating copy to clipboard operation
ARI copied to clipboard

Please remove the function that delete Excel files in the specified report directory

Open frankherrmann-github opened this issue 2 years ago • 4 comments

Please ensure that all previous files in the report directory are retained. I have stored many analysis Excel files there - now they are gone

.\AzureResourceInventory.ps1 -TenantID xxxxxxxxxxxxxxxxxxx -Online -SkipAdvisory -ReportDir "C:\private\Powershell\XLSExports" -Diagram -DiagramFullEnvironment

frankherrmann-github avatar Dec 14 '23 09:12 frankherrmann-github

hello you can add an option > delete or not personally i use this delete function thanks

VisFGO avatar Dec 31 '23 18:12 VisFGO

Hello,

Actually the script does not delete the previous Excel or XML files from the root folder.

This is actually happening to you?

Claudio-Merola avatar Jan 19 '24 16:01 Claudio-Merola

Can confirm the same behaviour when using "-ReportDir", if I dont specify the report output dir it obviously goes to the default folder output, but I actually get my complete network diagram as well apposed to only getting a two pager, so by specifying the output directory, it strips pages from the draw.io xml, funny enough, when I watch the folder I can see more individual pages being created and then they disappear and im left with scraps in the final report xml file. I have the latest packages installed as per README and also using this latest ARI. -Hope this helps.

shadowarmor avatar Jan 23 '24 17:01 shadowarmor

Hi @shadowarmor

This was a bug. We just fixed that in the version 3.1.13, can you try it?

Claudio-Merola avatar Feb 15 '24 14:02 Claudio-Merola

This Issue is stale and may be automatically close soon.

github-actions[bot] avatar Mar 16 '24 14:03 github-actions[bot]