Closed alexrgreenwood closed 1 month ago
trying to create a one time schedule gives this error notification
The LINQ expression 'DbSet<Script>() .Where(s => s.FullPath.Equals( value: __item_Script_0, comparisonType: OrdinalIgnoreCase))' could not be translated. Additional information: Translation of the 'string.Equals' overload with a 'StringComparison' parameter is not supported. See https://go.microsoft.com/fwlink/?linkid=2129535 for more information. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
Summary of the feedback
New-PSUSchedule -Cron '*/2 * * * *' -Script $scriptname -Name 'test' -TimeZone "Europe/London"
Call failed with status code 404 (Not Found): GET http://192.168.1.111:5001/api/v1/script/createdbyscript2
also fails in the admin console, mentioned here