web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Model file or ModelStore (export) want to save in specific location

(0) ShareShare
ReportReport
Posted on by 56

Hi All,

Can you please let me know if i wants to export Model files OR Modelstore through PowerShell or AXUtil coomand and i wants to save in specific location say C:\<Folder>

Kindly send me the exact syntax with specific location for export model or model store.

Please give me more shed on this.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    Export-AXModelStore -File "C:\Foldername\ModelStore.axmodelstore" -Details

    axutil exportstore /file:filename [/verbose]

  • @rp@n Profile Picture
    56 on at

    Thanks Sukrut

    for Model Files

    Syntax : Export-AXModel -File <String> -Model <String>

    here in file <String> and

    model < string>

    what to mention?

    please give me more she don this

  • Verified answer
    Martin Dráb Profile Picture
    239,036 Most Valuable Professional on at

    It's trivial, if you think about it for a second.

    You want to export a model to a file, therefore you must specify which model you want to export and into which file. That's what -Model and -File are for.

    You also keep ignoring documentation, where it's described.

  • @rp@n Profile Picture
    56 on at

    Hi All,

    can you please let me know what [/verbose] mean ?

    axutil exportstore /file:filename [/verbose]

    Please give me more shed on this.

  • Martin Dráb Profile Picture
    239,036 Most Valuable Professional on at

    It adds extra ("verbose") information to the output.

    Here is how you can learn such things about Powershell cmdlets: Click the documentation link I gave you above and scroll down until you find <CommonParameters>, or simply search for "Verbose". Click the link there are read the information.

  • Blue Wang Profile Picture
    Microsoft Employee on at

    HI @rp@n,

    1.At the Windows PowerShell command prompt, you can use:

    Export-AXModelStore -File <Filename> -Details

    This command exports the model store to an .axmodelstore file.

    For more information, see :https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/export-axmodelstore

     

    2.At the Axutil command prompt, you can use:

    axutil exportstore /file:filename [/verbose]

    This command exports the model store to an .axmodelstore file.

    For more information about How to Export and Import a Model Store ,you can see https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-export-and-import-a-model-store

    3.About Verbose 

    The alias for Verbose is vb.

    Displays detailed information about the operation done by the command. This information resembles the information in a trace or in a transaction log. This parameter works only when the command generates a verbose message. For example, this parameter works when a command contains the Write-Verbose cmdlet.

    The Verbose parameter overrides the value of the $VerbosePreference variable for the current command. Because the default value of the $VerbosePreference variable is SilentlyContinue, verbose messages aren't displayed by default.

    -Verbose:$true has the same effect as -Verbose

    -Verbose:$false suppresses the display of verbose messages. Use this parameter when the value of $VerbosePreference isn't SilentlyContinue (the default).

    For more information,you can refer: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-6

  • @rp@n Profile Picture
    56 on at

    Thanks Blue

    AXUtil : Syntax

    AxUtil export /model <model name > file < file name>

    So, here in Model i need to mention the Actual model name without extension means .axModel

    and in File in need to mention the path where need to save the actual model. Say for exapmle : D;\Test\Abc.AxModel.

    So, the actual model is going to save with name Abc.axmodel in D drive Test folder .

    is it correct?

  • Verified answer
    Blue Wang Profile Picture
    Microsoft Employee on at

    Hi @rp@n,

    All right

    You also can use the [/key:SNK-file] parameter to specify the strong-name key pair file to use to sign a model.

  • @rp@n Profile Picture
    56 on at

    Thanks Blue

    [/key:SNK-file] ;

    can you please give me the full syntax with key [/key:SNK-file] based on my example :

    AxUtil export /model:"CMC" /file:D:\Test\Abc.axmodel

    Please give me more shed on this.

    Thanks!

  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Why do you need the key? Your original question was about exporting models, not signing them. Do you need to sign them?

    Before asking what does it mean to sign them, please use web search to get the answer :)

    Based on your previous other questions you want to export the models so that you can upload them to the Customization Analysis tool in LCS. No need to sign them for that.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans