Skip to content

mikemadeja/PiHoleShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

171 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

drawing

Copy your password, then click Enable new app password.

drawing

PS Install-Module -Name PiHoleShell

PS Get-PiHoleDnsBlockingStatus -PiHoleServer http://PIHOLESERVER.DOMAIN.COM -Password "APPPASSWORD"

Blocking Timer
-------- -----
enabled      0