You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test-SQLBackups : System.Management.Automation.RuntimeException: Could not compare "5000" to "727141.973632813 727141.973632813 727141.973632813 727141.973632813 727141.973632813 727141.973632813". Error: "Cannot convert the "System.Object[]" value of type
"System.Object[]" to type "System.Int32"."
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at Test-DbaLastBackup<Process>(Closure , FunctionContext )
at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
At C:\temp\TestBackup.ps1:106 char:1
+ Test-SQLBackups -AutomationServer $AutomationServer -RepositoryDB $Re ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Test-SQLBackups
The text was updated successfully, but these errors were encountered:
This is part of the script I'm using:
This is the error message:
The text was updated successfully, but these errors were encountered: