API Reference
Class
ExportableAsyncPSCmdlet
Base cmdlet providing common -Export* parameters and helpers.
Inheritance
- ParallelAsyncPSCmdlet
- ExportableAsyncPSCmdlet
Methods
ExportNotImplementedAsync(System.String cmdletName) #Emits a warning indicating export is not implemented.
Parameters
- cmdletName System.String
- Name of the cmdlet requesting export.
Returns
A completed task.
GetRequestedFormatsOrDefault(DomainDetective.Reports.ReportFormat arg1) #Returns requested formats or a single fallback format.
Parameters
- arg1 DomainDetective.Reports.ReportFormat
IsExportRequested() #Determines whether an export was requested.
Returns
true if export options were specified; otherwise, false.
ResolveOutPathForFormat(System.String arg1, System.String arg2, System.String arg3, DomainDetective.Reports.ReportFormat arg4, System.Collections.Generic.IReadOnlyList{DomainDetective.Reports.ReportFormat} arg5) #Computes output path for a specific format, honoring explicit file paths when multiple formats were requested.
Parameters
- arg1 System.String
- arg2 System.String
- arg3 System.String
- arg4 DomainDetective.Reports.ReportFormat
- arg5 System.Collections.Generic.IReadOnlyList{DomainDetective.Reports.ReportFormat}
TryOpenReport(System.String path) #Attempts to open the specified report file.
Parameters
- path System.String
- Path to the report.
Inherited Methods
public PathInfo CurrentProviderLocation(String providerId) #Returns:
PathInfoInherited from PSCmdlet
Parameters
- providerId String
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public Collection<String> GetResolvedProviderPathFromPSPath(String path, out ProviderInfo provider) #Returns:
Collection<String>Inherited from PSCmdlet
Parameters
- path String
- provider ProviderInfo
public override String GetResourceString(String baseName, String resourceId) #Returns:
StringInherited from Cmdlet
Parameters
- baseName String
- resourceId String
public String GetUnresolvedProviderPathFromPSPath(String path) #Returns:
StringInherited from PSCmdlet
Parameters
- path String
public Object GetVariableValue(String name, Object defaultValue) #Returns:
ObjectInherited from PSCmdlet
Parameters
- name String
public Boolean ShouldContinue(String query, String caption) #Returns:
BooleanInherited from Cmdlet
Parameters
- query String
- caption String
- hasSecurityImpact Boolean
- yesToAll Boolean
- noToAll Boolean
public Boolean ShouldProcess(String verboseDescription, String verboseWarning, String caption) #Returns:
BooleanInherited from Cmdlet
Parameters
- verboseDescription String
- verboseWarning String
- caption String
- shouldProcessReason ShouldProcessReason
public Void ThrowTerminatingError(ErrorRecord errorRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- errorRecord ErrorRecord
public Void WriteCommandDetail(String text) #Returns:
VoidInherited from Cmdlet
Parameters
- text String
public Void WriteError(ErrorRecord errorRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- errorRecord ErrorRecord
public Void WriteInformation(InformationRecord informationRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- informationRecord InformationRecord
public Void WriteObject(Object sendToPipeline) #Returns:
VoidInherited from Cmdlet
Parameters
- sendToPipeline Object
public Void WriteProgress(ProgressRecord progressRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- progressRecord ProgressRecord
Properties
public ReportFormat[] ExportFormat { get; set; } #Parameter(Mandatory = false) Alias(["Report"]) ValidateSet(["Html", "Json", "Word", "Excel", "Markdown", "MarkdownHtml"], IgnoreCase = true)Desired export format(s). Accepts one or many values.
public SwitchParameter OpenInBrowser { get; set; } #Parameter(Mandatory = false) Alias(["OpenReport"])Open export in browser when applicable.
public SwitchParameter ExportArtifacts { get; set; } #Parameter(Mandatory = false) Alias(["Artifacts"])Emit artifacts (scan.json, metrics.json, progress.jsonl).
public String ArtifactsDirectory { get; set; } #Parameter(Mandatory = false) Alias(["ArtifactsPath"])Destination directory for artifacts when emitted.
Inherited Properties
public SwitchParameter DisableParallel { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false)public Nullable<Int32> ThrottleLimit { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false) ValidateRange(1, 128)public Nullable<Int32> MaxParallelism { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false) ValidateRange(1, 128)public Nullable<Int32> DnsParallelism { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false) ValidateRange(1, 128)public DnsEndpoint[] DnsEndpoints { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false)public MultiResolverStrategy MultiResolverStrategy { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false)public Nullable<Int32> MultiResolverMaxParallelism { get; set; } #Inherited from ParallelAsyncPSCmdlet
Parameter(Mandatory = false)public PSEventManager Events { get; } #Inherited from PSCmdlet
public PSHost Host { get; } #Inherited from PSCmdlet
public CommandInvocationIntrinsics InvokeCommand { get; } #Inherited from PSCmdlet
public ProviderIntrinsics InvokeProvider { get; } #Inherited from PSCmdlet
public JobManager JobManager { get; } #Inherited from PSCmdlet
public JobRepository JobRepository { get; } #Inherited from PSCmdlet
public InvocationInfo MyInvocation { get; } #Inherited from PSCmdlet
public PagingParameters PagingParameters { get; } #Inherited from PSCmdlet
public String ParameterSetName { get; } #Inherited from PSCmdlet
public SessionState SessionState { get; } #Inherited from PSCmdlet
public ICommandRuntime CommandRuntime { get; set; } #Inherited from Cmdlet
public Boolean Stopping { get; } #Inherited from Cmdlet
public CommandOrigin CommandOrigin { get; } #Inherited from InternalCommand