最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

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

网络文摘 William 1652浏览 0评论
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


发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址