Whois lookup from Windows 10 and Windows 11 via PowerShell

Mega Carder

Guru
BFD MEMBER
LEGEND
ULTIMATE
SELLER
SUPREME
MEMBER
BFD Legacy
Joined
Mar 14, 2025
Messages
1,348
Reaction score
15,566
Deposit
6,350$
There are two methods that can be used, the first is with using a Sysinternals binary:

Code:
cd C:;$ProgressPreference = 'SilentlyContinue';wget https://download.sysinternals.com/files/WhoIs.zip -OutFile whois111.zip;Expand-Archive whois111.zip;cd .\whois111;Copy-Item .\whois.exe -Destination $Env:USERPROFILE\AppData\Local\Microsoft\WindowsApps\whois.exe;whois yahoo.com /accepteula


The second option is using a cool project created by Robert D. Biddle [LinkedIn].
This is fairly straight-forward:
Code:
Install-Module -Name Get-WHOIS
Once this module is installed, you can either simply run
Get-WHOIS example.com
or
Get-WHOIS example.com | Select CreationDate

The obvious use-case here is that if you are looking up possible phishing domains, usually these are newly registered in the past month or so.
 
Top Bottom