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)

GET-AXModel command is not recognized in Windows PowerShell

(0) ShareShare
ReportReport
Posted on by 765

ModelStoreProblem.png

When i try GET-AXModel Command in Windows Power shell. I Am getting Above error.

Please anyone help me solve out.

*This post is locked for comments

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You need to install the AX Management Utilities to use those commands. Then it is under Windows > Control Panel > Administrative tools > AX Management Shell.

    Alternatively you could load the libraries yourself by running the powershell file (.ps1 extension) in the management shell's folder, if you just started the regular powershell window.

  • Saravanaa Profile Picture
    765 on at

    Thank you for the quick reply. The Ax management utilities are already Installed, when i tried AX PowerShell its working fine. but if i tried in normal windows power shell its not working

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    It obviously does not work in regular powershell window if you did not load the assembly, like I suggested. Martin also mentions what to run in this article, have a look, maybe you'll get it right this time:

    dev.goshoom.net/.../ax2012-powershell-en

  • Saravanaa Profile Picture
    765 on at

    Thank you it will helps. but when i try  this command       Get-Command *ax* -CommandType "Cmdlet"    i am not able to get cmdlet assemblies. it shows empty. So how can i load cmdlet assemblies?

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Please take your time next time to read through the article more thoroughly. This is the third time I try to steer you in the right direction to run the powershell command to load the assemblies for AX in order to be able to use the AX cmdlets.

    . "C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities\Microsoft.Dynamics.ManagementUtilities.ps1"



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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans