Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Export-Clixml Performance Issues

$
0
0

I have a data collection script that pulls information from multiple data sources (mainly from AD) and builds arrays of custom PSObjects.  Once I have the information stored in variables, I like to use Export-Clixml to create XML files that I can later import and report on using PowerShell.  This seems to work quite well with smaller collection (500-2500), but it seems to perform very badly with large collections (5000+).

So, are there any variable data limitations that I should be aware of?  Are there specific limitations that I should be aware of when using Export-Clixml?  Should I consider building custom XML documents to help address this issue?

Note:  I cannot easily switch to use Export-Csv because many properties in the custom PSObjects have multiple values.

Suggestions?


~fr3dd


Viewing all articles
Browse latest Browse all 21975


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>