Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Export list of model elements to Excel using PowerShell

$
0
0
So you want to get a list of all elements in a given model? I tend to do it now and then, so here is how I do it. Simply use the Get-AxModel to collect the details and pipe it to a Export-CSV . (Get-AXModel -Model 'MyModel' -Details).Elements | select path, elementtype | ` Export-Csv -NoTypeInformation -Delimiter ';' c:\mymodel.csv I've added the -NoTypeInformation to remove some unnecessary information, and I wanted to have the semicolon as delimiter in order for the file to...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



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