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 :

Troubleshooting Tip Powershell how to delete CUS Model with a space in the name

Dilip Profile Picture Dilip 1,164
Hi All,

Greetings!

Thought to share an useful time saving tip while writing Powershell scripts. I wanted to uninstall the default CUS Model in AX 2012 from one of my local development environments. And because of the space in the model name between the words CUS and Model I got this error

For sometime, I struggled with the below error as shown below.














Solution:

However the solution was to use the escape character (grave-accent) ` which is on the left hand side of your keyboard between CUS and Model as shown above.

i.e.

Uninstall-AXModel -Model CUS` Model



This was originally posted here.

Comments

*This post is locked for comments