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
Export-AXModel –Model 'SecurityModel' -File C:\SecurityModel.axmodel
ReplyDeleteThis is the right code
Yes, you are right. Export command in post will work only if you do not have any space in your model name. if you have blank space in model name then single quote is required.
ReplyDelete