An open API service indexing awesome lists of open source software.

https://github.com/regg00/pwsh-ip-location

Get GeoIP information with PowerShell
https://github.com/regg00/pwsh-ip-location

Last synced: 4 months ago
JSON representation

Get GeoIP information with PowerShell

Awesome Lists containing this project

README

        

![Tests](https://github.com/regg00/pwsh-ip-location/actions/workflows/test-and-deploy.yaml/badge.svg)
[![GitHub issues](https://img.shields.io/github/issues/regg00/pwsh-ip-location.svg)](https://github.com/regg00/pwsh-ip-location/issues)

# GeoIP PowerShell

A PowerShell module to query GeoIP databases.

## Why it exists

I needed an easy way to query GeoIP databases using PowerShell. I got tired or using `Invoke-RestMethod` on different APIs, so I built this.

## Installing this module

This module is available in [PowerShell Gallery](https://www.powershellgallery.com/packages/GeoIP):

```powershell
Install-Module GeoIP
```

Or, download it from here and save all of the files somewhere in your `$PSModulePath`.

## Using the module

First things first, you need to import it `Import-Module GeoIP`

### Functions

Here's the status of each functions:

| Command | Status | Notes |
| ------------------------------------------ | ------------------ | ----------------------------------------------------- |
| [Get-IPLocation](./Docs/Get-IPLocation.md) | :white_check_mark: | Get the location information of a specific IP address |

## What else can I do?

There is plenty of help to read. Get started [here](./Docs/)