This PowerShell script provides a unified, modular framework for gathering domain intelligence across multiple layers, including DNS records, WHOIS data, SSL/TLS certificate details.
You need to install Get-WHOIS powershell module -
Install-Module -Name Get-WHOIS -RequiredVersion 1.0.1