There was some discussion about the OutOfMemoryException the 5.6.2 thread: PowerShell Universal - 5.6.2 - #8 by deroppi