Fixed bad function interrupts (#6546)
Fixed bad function interrupts (#6546)

Co-authored-by: Friedrich Weinmann <b1ce5a263e83660aad154308d4cd68e36d31df47@powershell-stuttgart.de>
kozloski/dbatools,wsmelton/dbatools