Modified the MS script for Get-SQLInstances to be a standalone script rather than a function that can be imported