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
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.
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
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
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?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Tocauer 4
AlissonGodoy 2
Community Member 2