https://github.com/mikemadeja/piholeshell
A PowerShell module for PiHole
https://github.com/mikemadeja/piholeshell
pihole pihole-adblocker-list pihole-ads-list pihole-api pihole-blocklists piholeblocklist powershell powershell-module
Last synced: 3 months ago
JSON representation
A PowerShell module for PiHole
- Host: GitHub
- URL: https://github.com/mikemadeja/piholeshell
- Owner: mikemadeja
- License: apache-2.0
- Created: 2024-04-23T21:49:38.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-11-12T04:44:59.000Z (8 months ago)
- Last Synced: 2025-11-12T05:32:03.572Z (8 months ago)
- Topics: pihole, pihole-adblocker-list, pihole-ads-list, pihole-api, pihole-blocklists, piholeblocklist, powershell, powershell-module
- Language: PowerShell
- Homepage:
- Size: 241 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PiHoleShell
A PowerShell module for PiHole v6 API.
## Installation
It is recommended to install this from https://www.powershellgallery.com/packages/PiHoleShell
## Contributions
I am in the beginning stages of developing this. I am open to suggestions or contributors and am learning as I go. I hope this will bring some value to people :-).
## How to use
Generate an app password by logging into your PiHole server.
Click Web Interface / Api
Click Configure app password

Copy your password, then click Enable new app password.

```
PS Install-Module -Name PiHoleShell
PS Get-PiHoleDnsBlockingStatus -PiHoleServer http://PIHOLESERVER.DOMAIN.COM -Password "APPPASSWORD"
Blocking Timer
-------- -----
enabled 0
```