external help file | Module Name | online version | schema |
---|---|---|---|
pwshCloudflare-help.xml |
pwshCloudflare |
2.0.0 |
Retrieves information about a Cloudflare zone.
Get-CFZone [[-ZoneName] <String>] [[-ZoneID] <String>]
[<CommonParameters>]
The Get-CFZone function queries the Cloudflare API to retrieve information about a specific zone. It can query zones based on either the zone name or the zone ID.
Get-CFZone -ZoneName "example.com"
This example retrieves information about the zone named "example.com".
Get-CFZone -ZoneID "1234567890abcdef1234567890abcdef"
This example retrieves information about the zone with the ID "1234567890abcdef1234567890abcdef".
The name of the zone to retrieve. This parameter is mutually exclusive with ZoneID.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The unique identifier of the zone to retrieve. This parameter is mutually exclusive with ZoneName.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).