Skip to content

getting failed job #1

Description

@carlessanagustin

With this parameters...

  • RESOURCEGROUPNAME: mydb-rg
  • DATABASENAME: mydb
  • SERVERNAME: myserver
  • DEFAULTEDITION: Standard
  • DEFAULTTIER: S0
  • SCALINGSCHEDULE: [{WeekDays:[1,2,3,4,5], StartTime:"08:00:00", StopTime:"20:00:00", Edition: Standard, Tier: s3}]
  • other options: default

I am getting this exception...

At line:138 char:93 + ... = {[datetime]::ParseExact(($startTime.ToString("yyyy:MM:dd")+�:�+ ... + ~ You must provide a value expression following the '+' operator. At line:138 char:93 + ... Exact(($startTime.ToString("yyyy:MM:dd")+�:�+$_.StartTime),"yyyy: ... + ~~~~~~~~~~~~~~~~~~~~ Unexpected token '�:�+$_.StartTime' in expression or statement. At line:138 char:93 + ... = {[datetime]::ParseExact(($startTime.ToString("yyyy:MM:dd")+�:�+ ... + ~ Missing closing ')' in expression. At line:138 char:93 + ... = {[datetime]::ParseExact(($startTime.ToString("yyyy:MM:dd")+�:�+ ... + ~ Missing ')' in method call. At line:138 char:34 + @{Name="StartTime"; Expression = {[datetime]::ParseExact(($startTime. ... + ~ Missing closing '}' in statement block or type definition. At line:138 char:113 + ... Exact(($startTime.ToString("yyyy:MM:dd")+�:�+$_.StartTime),"yyyy: ... + ~ The hash literal was incomplete. At line:138 char:113 + ... xact(($startTime.ToString("yyyy:MM:dd")+�:�+$_.StartTime),"yyyy:M ... + ~ Unexpected token ')' in expression or statement. At line:138 char:190 + ... HH:mm:ss", [System.Globalization.CultureInfo]::InvariantCulture)}}, ` + ~ Unexpected token ')' in expression or statement. At line:138 char:191 + ... HH:mm:ss", [System.Globalization.CultureInfo]::InvariantCulture)}}, ` + ~ Unexpected token '}' in expression or statement. At line:138 char:192 + ... HH:mm:ss", [System.Globalization.CultureInfo]::InvariantCulture)}}, ` + ~ Unexpected token '}' in expression or statement. Not all parse errors were reported. Correct the reported errors and try again.

I believe SCALINGSCHEDULE variable is not needed due to schedule resources shared. Can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions