web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: GET-AXModel command is not recognized in Windows Power Shell Ax 2012

    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
    RE: GET-AXModel command is not recognized in Windows PowerShell

    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
    RE: GET-AXModel command is not recognized in Windows PowerShell

    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
    RE: GET-AXModel command is not recognized in Windows PowerShell

    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
    RE: GET-AXModel command is not recognized in Windows PowerShell

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans