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
It appears that the -Computer value is being ignored when passed and always returns for the local machine. I don't think this is the expected behaviour.
i.e.
$a = Test-DbaComputerCertificateExpiration -ComputerName 'xxx' -Type Service -Threshold 90 | select *
$b = Test-DbaComputerCertificateExpiration -Type Service -Threshold 90 | select *
Compare-Object -ReferenceObject $a -DifferenceObject $b -IncludeEqual
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
It appears that the -Computer value is being ignored when passed and always returns for the local machine. I don't think this is the expected behaviour.
i.e.
$a = Test-DbaComputerCertificateExpiration -ComputerName 'xxx' -Type Service -Threshold 90 | select *
$b = Test-DbaComputerCertificateExpiration -Type Service -Threshold 90 | select *
Compare-Object -ReferenceObject $a -DifferenceObject $b -IncludeEqual
are equal (computername amended above)
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions