Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Orphaned file check results incorrect for one file #579
General Troubleshooting steps
Steps to Reproduce
Orphaned file check with one orphaned file returns $null instead of one in the results
@(Find-DbaOrphanedFile -SqlInstance $psitem).Count | Should -Be 0 -Because 'You dont want any orphaned files - Use Find-DbaOrphanedFile to locate them'