docker-examples icon indicating copy to clipboard operation
docker-examples copied to clipboard

Custom-Images docker-examples-cm-1 and docker-examples-xconnect-1 exiting with the error The term 'C:toolsentrypointsiisDevelopment.ps1' is not recognized as the name of a cmdlet

Open himadric opened this issue 2 years ago • 2 comments

Error detail

The term 'C:toolsentrypointsiisDevelopment.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:3

  • & C:toolsentrypointsiisDevelopment.ps1
  • + CategoryInfo          : ObjectNotFound: (C:toolsentrypointsiisDevelopmen 
    

t.ps1:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

himadric avatar Jul 27 '22 02:07 himadric

@himadric Your escaping fix for the powershell scripts resolved this for me as well. I also noticed your post on Stack Exchange. Thanks!

This should probably be merged into the Sitecore project, as I experienced this issue as well when running this, unless there is a PowerShell setting someone can recommend that would resolve this.

liznelson avatar May 27 '23 03:05 liznelson

I had the same issue this today, and the article above solve the issue change from C:\tools\entrypoints\iis\Development.ps to "C:\tools\entrypoints\iis\Development.ps "

joseamneto avatar Jun 01 '23 18:06 joseamneto