Hi there folks,
I've made a daily check script a few times ago, that retrieves the backup infos from BE2014 (Slot, tape number, and other stuff) and was working great. Was.
We made some changes on the saturday backup (weekly backup), and now it deals with a lot more files. And now, the script fails when it analyses the weekly backup, with a System.OutOfMemory Exception.
The funny part is that I've already set up the max Powershell memory limit to something bigger (4096 Mb), and that the error persists.
The script is launched on our Backup server and uses a Invoke-Command scriptblock on himself (for later purpose, as it will maybe get datas from a remote site, so I could use a foreach loop to gather every information). The script works without the Invoke-Command, but as soon as I use it, BAM, OutOfMemory for the saturday backup.
Is there...