PatrickKeisler/SQLMorningHealthChecks

Run function Creation issue in Powershell

Opened this issue · 0 comments

Hi, i'm having an issue creating this function , any suggestions. thanks

Write-Host "`nElapsed Time: $(New-TimeSpan -Start $startTime -End (Get-Date))"
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : AmbiguousParameterSet