PowerShell
PowerShell copied to clipboard
Invoke-HuntSQLServers - Standardize output file naming, improve shared SQL account handling
Console output and actual file name did not align.
Possibly, theoretically, someone could spend way too much time hunting a bug that was more about searching for the wrong file name... 🙃
Copying the more substantial changes out of the commit message for visibility:
- Create summary report even if no instances are accessible
- Deduplicate SPNs by ComputerName,DomainAccount (should also avoid issues from instances run using Machine$ accounts)
- Move Shared Account processing into Instance Discovery section (summary adjusted to match)