Import, Export and Uninstall the model from Microsoft Dynamics AX 2012

Introduction: 

In this blog, we will see how we can import, export and uninstall the model from Microsoft Dynamics AX 2012 

Details: 

Prerequisite for import, export and uninstall the model from the environment, run the command prompt as in administrator mode.

Form Importing the model script: 
Install-AXModel -File "Path_Of_the_Model_File" -server ServerName -database DatabaseName_Model –Details

Exmaple:
Install-AXModel -File "D:\Model\VARModel.axmodel" -server CFSEnvVM -database DAX2012R3CFSEnv_Model –Details
Form Exporting the model script: 
Export-AXModel -Model 'Model' -File 'Path' -server 'ServerName\DBName' -database 'DatabaseName_Model'

Exmaple:
Export-AXModel -Model 'CUS Model' -File 'C:\ModelFile\CUSModel.axmodel' -server 'TESTSERVER\CFSDAXSQL2014' -database 'DAX2012R3Blank_model'
Form Uninstalling the model script: 
Uninstall-AXModel -Model 'Model' -server 'ServerName' -database 'DatabseName_Model'

Exmaple:
Uninstall-AXModel -Model 'VAR Model' -server 'CFSEnvVM' -database 'DAX2012R3Test_model'

Thanks for reading !!!

Share Story :

SEARCH BLOGS :

FOLLOW CLOUDFRONTS BLOG :


Secured By miniOrange