You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install-Module PSScriptTools
Get-WhoIs -IPAddress 8.8.8.8
Name IP RegisteredOrganization NetBlocks Updated
---- -- ---------------------- --------- -------
GOGL 8.8.8.8 Google LLC 8.8.8.0/24 28/12/2023 23:24:56
# Testing specific IP
Get-WhoIs -IPAddress 154.62.105.215
Invoke-RestMethod: C:\Users\Douda\Documents\PowerShell\Modules\PSScriptTools\2.50.0\functions\Get-WhoIs.ps1:53
Line |
53 | … = (Invoke-RestMethod $r.net.orgRef.'#text').org.ci …
| ~~~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'Uri'. The argument is null or empty. Provide an argument that is not null
| or empty, and then try the command again.
Expectation
No response
Additional Information
$PSVersionTable
Name Value
---- -----
PSVersion 7.4.3
PSEdition Core
GitCommitId 7.4.3
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PowerShell version
Other
Platform
Windows 11 Pro or Enterprise
Additional Checks
You are using the latest version of this module.
You have read this repository's README file.
You have read full help and examples for the command you are having problems with.
You are running PowerShell in an elevated session.
You are running in a traditional PowerShell console or Windows Terminal > Windows Terminal
The text was updated successfully, but these errors were encountered:
Describe the problem
Get-WhoIs fails with a specific IP passed
Expectation
No response
Additional Information
PowerShell version
Other
Platform
Windows 11 Pro or Enterprise
Additional Checks
The text was updated successfully, but these errors were encountered: