
MClarkson676368 (Community Member) asked a question.
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.
I can successfully run agent SCA one day, but then the next it fails with:
srcclr scan . --allow-dirty --no-upload --quick --update-advisor
& : The term 'C:\Users\clarkson\AppData\Local\Temp\srcclr\22628\srcclr-3.7.47\bin\srcclr' 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:228 char:7
+ & "$srcclrScriptPath" $args
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\clarks...7.47\bin\srcclr:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The only way to successfully run again is to totally remove the C:\Users\clarkson\AppData\Local\Temp\srcclr directory and go through the laborious process of having to rerun:
iex ((New-Object System.Net.WebClient).DownloadString('https://download.srcclr.com/ci.ps1'))
Does anyone else see this behaviour and if so do you have a fix?
Thanks
.png)
Hi,
I would recommend you contact our technical support team. Here's how you can log a case:
1. Navigate to the upper right corner of any page in the Community, click on your user avatar.
2. Select Contact Support from the drop-down menu.
Thank you,
Boy Baukema