Skip to content

pwshCloudflare Module

Description

PowerShell module for interacting with the Cloudflare API

pwshCloudflare Cmdlets

Get-CFAccount

Get Cloudflare account information.

Get-CFD1Database

Gets Cloudflare D1 database(s).

Get-CFZone

Retrieves information about a Cloudflare zone.

Get-CFZoneRecord

Retrieves DNS records for a Cloudflare zone.

Invoke-CFD1Query

Executes a SQL query against a Cloudflare D1 database.

New-CFD1Database

Creates Cloudflare D1 database.

New-CFZoneRecord

Creates a new DNS record for a Cloudflare zone.

Remove-CFD1Database

Deletes a Cloudflare D1 database.

Remove-CFZoneRecord

Removes a DNS record from a Cloudflare zone.

Set-CFZoneRecord

Updates a DNS record for a Cloudflare zone.

Set-CloudflareSession

Configures authentication for the Cloudflare API using an API token, legacy authentication (email and global API key), or both.

Test-CloudflareSession

Tests the Cloudflare session by verifying the authentication credentials.