Fix Powershell error: System.OutofmemoryException (incl. NAV PSM wrapper)

powershell_featured
FacebookTwitterGoogle+LinkedInWhatsAppEvernoteShare

It might be that you are trying to execute some large powershell processes and you get this System.OutOfMemoryException error. It happened to me when working with the new (still unreleased) version of This is Merging! for Dynamics NAV.

If you are suffering from the same issue, what Powershell is telling you is that the Powershell session is using more memory than allowed by the system.

And since Waldo released a Powershell Wrapper for NAV (which is what TIM uses) and I was getting this error, I thought it would be interesting to make a quick blog post about it. Continue reading

How To: Automatic merge in NAV (Part I of II)

Merge

Today the official NAV team has published in their official blog the new Cumulative Update 9 for NAV2013R2.

In this CU9 we can find new cmdlets for Powershell and speed up the merge between versions or products. These utilities are prepared for different versions and not just NAV2013R2 but it is not compatible with dataports, forms oR section-based reports.

Continue reading