Domain Detective

API Reference

Class

CmdletTestSitemap

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Implements
IDisposable
Modifiers sealed
Attributes
Cmdlet("Test", "DDSitemap") Alias(["Test-Sitemap", "Test-DDXmlSitemap"]) OutputType([typeof(SitemapInfo)])

Validates sitemap XML and sitemap-listed URLs.

Inheritance

Examples

Scan the default sitemap for a domain.

PS>


Test-DDSitemap -Subject evotec.pl
        

Scan a specific sitemap URL with a larger URL probe limit.

PS>


Test-DDSitemap -Subject https://example.com/sitemap.xml -MaxUrlProbes 1000
        

Constructors

Methods

ProcessRecordAsync() #

Runs sitemap analysis.

Returns

A task that represents the asynchronous operation.

Properties

public Int32 TimeoutSeconds { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 300)
public Int32 MaxSitemapDocuments { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 1000)
public Int32 MaxEntries { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 1000000)
public Int32 MaxUrlProbes { get; set; } #
Parameter(Mandatory = false) ValidateRange(0, 1000000)
public Int32 MaxRedirects { get; set; } #
Parameter(Mandatory = false) ValidateRange(0, 50)
public SwitchParameter NoUrlProbe { get; set; } #
Parameter(Mandatory = false)
public SwitchParameter NoCanonicalCheck { get; set; } #
Parameter(Mandatory = false)
public SwitchParameter NoHttpFallback { get; set; } #
Parameter(Mandatory = false)
public String UserAgent { get; set; } #
Parameter(Mandatory = false)

Fields

public String[] Subject #
Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true) ValidateNotNullOrEmpty
{{ include "footer" }}