EXPORT MODEL AND IMPORT MODEL FILES IN AX 2012 POWERSHELL AND CMD COMMAND PROMPT
Export an .axmodel file (Windows PowerShell)
-
On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
-
At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.
Export Command Syntax :
Export-AXModel –Model <name> -File <Filename.axmodel>
Example :
Export-AXModel –Model SecurityModel -File C:\SecurityModel.axmodel
On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.
Export Command Syntax :
Export-AXModel –Model <name> -File <Filename.axmodel>
Example :
Export-AXModel –Model SecurityModel -File C:\SecurityModel.axmodel
Import an .axmodel file (Windows PowerShell)
- On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
- At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.
Import Command Syntax :
Install-AXModel -File <Filename.axmodel> -Details
Exmaple :Install-AXModel -File C:\SecurityModel.axmodel -Details
AX2012 AXUTIL commands to Import and Export Models
// Export
AxUtil export /model:"TestModel" /file:TestModel.axmodel
// Import
AxUtil import /file:TestModel.axmodel
AxUtil export /model:"TestModel" /file:TestModel.axmodel
// Import
AxUtil import /file:TestModel.axmodel
C:\Program
Files\Microsoft Dynamics AX\60\ManagementUtilities>AxUtil
No comments:
Post a Comment