Lib/Core/en-US/PSParseHTML.PowerShell.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Format-CSS --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Format-CSS</command:name> <command:verb>Format</command:verb> <command:noun>CSS</command:noun> <maml:description> <maml:para>Cmdlet that formats CSS content using AngleSharp.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Format-CSS</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Format-CSS</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a CSS file to format.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>CSS content to format.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional path to write the formatted CSS.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Format-CSS -Content "body{margin:0}"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Optimize-CSS --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Optimize-CSS</command:name> <command:verb>Optimize</command:verb> <command:noun>CSS</command:noun> <maml:description> <maml:para>Cmdlet that minifies CSS content.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Css --> <command:syntaxItem> <maml:name>Optimize-CSS</maml:name> <!-- Parameter: Css --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Css</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Path --> <command:syntaxItem> <maml:name>Optimize-CSS</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Css --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Css</maml:name> <maml:description> <maml:para>CSS content to optimize.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a CSS file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional output file for the optimized CSS.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Optimize-CSS -Css $css</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Optimize-Email --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Optimize-Email</command:name> <command:verb>Optimize</command:verb> <command:noun>Email</command:noun> <maml:description> <maml:para>Cmdlet that inlines CSS for email bodies using PreMailer.Net.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Body --> <command:syntaxItem> <maml:name>Optimize-Email</maml:name> <!-- Parameter: Body --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named" aliases="Content"> <maml:name>Body</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AddAnalyticsTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AddAnalyticsTags</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AnalyticsCampaign --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsCampaign</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsContent</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsMedium --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsMedium</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsSource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsSource</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BaseUri --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BaseUri</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Css --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Css</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CssFilePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CssFilePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IgnoreElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreElements</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreserveMediaQueries --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreserveMediaQueries</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveComments</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveStyleElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveStyleElements</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: StripIdAndClassAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StripIdAndClassAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseEmailFormatter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseEmailFormatter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Optimize-Email</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AddAnalyticsTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AddAnalyticsTags</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AnalyticsCampaign --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsCampaign</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsContent</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsMedium --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsMedium</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsSource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsSource</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BaseUri --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BaseUri</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Css --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Css</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CssFilePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CssFilePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IgnoreElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreElements</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreserveMediaQueries --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreserveMediaQueries</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveComments</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveStyleElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveStyleElements</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: StripIdAndClassAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StripIdAndClassAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseEmailFormatter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseEmailFormatter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Body --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named" aliases="Content"> <maml:name>Body</maml:name> <maml:description> <maml:para>HTML content to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a HTML file to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: BaseUri --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BaseUri</maml:name> <maml:description> <maml:para>Base URI for resolving relative URLs.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveStyleElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveStyleElements</maml:name> <maml:description> <maml:para>Remove <style> elements after inlining.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IgnoreElements --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreElements</maml:name> <maml:description> <maml:para>CSS selector for elements to ignore.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Css --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Css</maml:name> <maml:description> <maml:para>Additional CSS content to inline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CssFilePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CssFilePath</maml:name> <maml:description> <maml:para>Path to a CSS file to include.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StripIdAndClassAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StripIdAndClassAttributes</maml:name> <maml:description> <maml:para>Strip id and class attributes from output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveComments</maml:name> <maml:description> <maml:para>Remove comments from HTML and CSS.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PreserveMediaQueries --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreserveMediaQueries</maml:name> <maml:description> <maml:para>Preserve media queries from style nodes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseEmailFormatter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseEmailFormatter</maml:name> <maml:description> <maml:para>Use the email formatter when generating HTML.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AddAnalyticsTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AddAnalyticsTags</maml:name> <maml:description> <maml:para>Add Google Analytics tags.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AnalyticsSource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsSource</maml:name> <maml:description> <maml:para>Value for utm_source.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsMedium --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsMedium</maml:name> <maml:description> <maml:para>Value for utm_medium.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsCampaign --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsCampaign</maml:name> <maml:description> <maml:para>Value for utm_campaign.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsContent</maml:name> <maml:description> <maml:para>Value for utm_content.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AnalyticsDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AnalyticsDomain</maml:name> <maml:description> <maml:para>Analytics domain.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Optimize-Email -Body $html -RemoveComments</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: ConvertFrom-HTML --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-HTML</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>HTML</command:noun> <maml:description> <maml:para>Parses HTML content from a string or a remote page.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The cmdlet can read raw HTML or download a web page specified with -Url. When downloading, optional -Proxy and -ProxyCredential parameters control the web request.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>ConvertFrom-HTML</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Raw --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Raw</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>ConvertFrom-HTML</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Raw --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Raw</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content to parse.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of a HTML page.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <maml:description> <maml:para>Selects parsing engine.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <maml:description> <maml:para>Optional proxy server address used when fetching content from Url. Include the protocol and port number if required.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <maml:description> <maml:para>Credentials used to authenticate against the Proxy server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Raw --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Raw</maml:name> <maml:description> <maml:para>Return raw document object.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: Object --> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Download a web page and parse it ----------</maml:title> <dev:code>ConvertFrom-HTML -Url https://example.com</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Use a proxy server when downloading ----------</maml:title> <dev:code>ConvertFrom-HTML -Url https://example.com -Proxy http://proxy:8080</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Format-HTML --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Format-HTML</command:name> <command:verb>Format</command:verb> <command:noun>HTML</command:noun> <maml:description> <maml:para>Cmdlet that formats HTML markup using NUglify.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Format-HTML</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AlphabeticallyOrderAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AlphabeticallyOrderAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BlockStartLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BlockStartLine</maml:name> <command:parameterValue required="true">BlockStart</command:parameterValue> <dev:type> <maml:name>NUglify.BlockStart</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>SameLine</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">NewLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">SameLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">UseSource</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Indent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Indent</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputTextNodesOnNewLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputTextNodesOnNewLine</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyBlocks --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyBlocks</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveHTMLComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveHTMLComments</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveOptionalTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveOptionalTags</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Format-HTML</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AlphabeticallyOrderAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AlphabeticallyOrderAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BlockStartLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BlockStartLine</maml:name> <command:parameterValue required="true">BlockStart</command:parameterValue> <dev:type> <maml:name>NUglify.BlockStart</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>SameLine</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">NewLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">SameLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">UseSource</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Indent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Indent</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputTextNodesOnNewLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputTextNodesOnNewLine</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyAttributes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyBlocks --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyBlocks</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveHTMLComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveHTMLComments</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveOptionalTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveOptionalTags</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to an HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content to format.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional path to write the formatted HTML.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Indent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Indent</maml:name> <maml:description> <maml:para>Indentation string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <!-- Parameter: BlockStartLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BlockStartLine</maml:name> <maml:description> <maml:para>Determines how blocks start.</maml:para> <maml:para>Possible values: NewLine, SameLine, UseSource</maml:para> </maml:description> <command:parameterValue required="true">BlockStart</command:parameterValue> <dev:type> <maml:name>NUglify.BlockStart</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>SameLine</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">NewLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">SameLine</command:parameterValue> <command:parameterValue required="false" variableLength="false">UseSource</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: RemoveHTMLComments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveHTMLComments</maml:name> <maml:description> <maml:para>Remove HTML comments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveOptionalTags --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveOptionalTags</maml:name> <maml:description> <maml:para>Remove optional tags.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputTextNodesOnNewLine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputTextNodesOnNewLine</maml:name> <maml:description> <maml:para>Output text nodes on new line.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyAttributes</maml:name> <maml:description> <maml:para>Remove empty attributes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AlphabeticallyOrderAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AlphabeticallyOrderAttributes</maml:name> <maml:description> <maml:para>Alphabetically order attributes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveEmptyBlocks --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveEmptyBlocks</maml:name> <maml:description> <maml:para>Remove empty CSS blocks.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Format-HTML -Content '<div>test</div>'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Optimize-HTML --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Optimize-HTML</command:name> <command:verb>Optimize</command:verb> <command:noun>HTML</command:noun> <maml:description> <maml:para>Cmdlet that minifies HTML content using NUglify.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Optimize-HTML</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: CSSDecodeEscapes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CSSDecodeEscapes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Optimize-HTML</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: CSSDecodeEscapes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CSSDecodeEscapes</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content to optimize.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional path to write the optimized HTML.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CSSDecodeEscapes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CSSDecodeEscapes</maml:name> <maml:description> <maml:para>Decode CSS escape sequences while minifying.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Optimize-HTML -Content $html</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-HTMLAttachment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-HTMLAttachment</command:name> <command:verb>Save</command:verb> <command:noun>HTMLAttachment</command:noun> <maml:description> <maml:para>Cmdlet that saves files downloaded while rendering a web page.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Default --> <command:syntaxItem> <maml:name>Save-HTMLAttachment</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Session --> <command:syntaxItem> <maml:name>Save-HTMLAttachment</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of the web page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Existing browser session.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Directory where downloads will be saved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <maml:description> <maml:para>Browser engine to use for rendering.</maml:para> <maml:para>Possible values: Chromium, Firefox, Webkit</maml:para> </maml:description> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <maml:description> <maml:para>Force re-download of browser runtimes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <maml:description> <maml:para>Show the browser instead of running headless.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <maml:description> <maml:para>Slow down Playwright actions by the specified milliseconds.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>Optional filter applied to download URLs or file names.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String[] --> <command:returnValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Save-HTMLAttachment -Url https://example.com/download.html -Path C:\temp</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: ConvertFrom-HtmlAttributes --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-HtmlAttributes</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>HtmlAttributes</command:noun> <maml:description> <maml:para>Extracts HTML elements by tag, class, id or name attributes.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Input can be raw HTML or a page retrieved from -Url. Use -Proxy when the page must be downloaded through a proxy server.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlAttributes</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Class --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Class</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Id --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReturnObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Tag --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tag</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlAttributes</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Class --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Class</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Id --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReturnObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Tag --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tag</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlAttributes</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Class --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Class</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Id --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReturnObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Tag --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tag</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content to parse.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to an HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of HTML page to download.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Tag --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tag</maml:name> <maml:description> <maml:para>Tag name to search for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Class --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Class</maml:name> <maml:description> <maml:para>Class name to search for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Id --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID attribute to search for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name attribute to search for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <maml:description> <maml:para>Proxy server address used when Url is specified. Include protocol and port if necessary.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <maml:description> <maml:para>Credentials used with the Proxy server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReturnObject</maml:name> <maml:description> <maml:para>Return matching IElement objects instead of text.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: IElement --> <command:returnValue> <dev:type> <maml:name>AngleSharp.Dom.IElement</maml:name> <maml:uri /> </dev:type> </command:returnValue> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Extract links from a page ----------</maml:title> <dev:code>ConvertFrom-HtmlAttributes -Url https://example.com -Tag a</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Specify a proxy while downloading ----------</maml:title> <dev:code>ConvertFrom-HtmlAttributes -Url https://example.com -Proxy http://proxy:8080 -Tag a</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-HTMLContent --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-HTMLContent</command:name> <command:verb>Get</command:verb> <command:noun>HTMLContent</command:noun> <maml:description> <maml:para>Cmdlet that retrieves HTML or text content from an existing session.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-HTMLContent</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AsText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsText</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: InnerHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>InnerHtml</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OuterHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OuterHtml</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Browser session in use.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <maml:description> <maml:para>CSS selector for the target element.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InnerHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>InnerHtml</maml:name> <maml:description> <maml:para>Return inner HTML instead of outer HTML.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OuterHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OuterHtml</maml:name> <maml:description> <maml:para>Return outer HTML. This is the default.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AsText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsText</maml:name> <maml:description> <maml:para>Return text content instead of HTML.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Get-HTMLInteractable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-HTMLInteractable</command:name> <command:verb>Get</command:verb> <command:noun>HTMLInteractable</command:noun> <maml:description> <maml:para>Returns interactive elements from an active browser session.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Session --> <command:syntaxItem> <maml:name>Get-HTMLInteractable</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeHidden --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeHidden</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>Get-HTMLInteractable</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeHidden --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeHidden</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: LoginUrl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LoginUrl</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PasswordSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SubmitSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SubmitSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UsernameSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UsernameSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Get-HTMLInteractable</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeHidden --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeHidden</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Browser session containing the page.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of the page to inspect.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a local HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <maml:description> <maml:para>Browser engine to use when loading Url or .</maml:para> <maml:para>Possible values: Chromium, Firefox, Webkit</maml:para> </maml:description> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <maml:description> <maml:para>Reinstall browser runtimes when using Url or .</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <maml:description> <maml:para>Show the browser instead of running headless.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <maml:description> <maml:para>Slow down Playwright actions by the specified milliseconds.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeHidden --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeHidden</maml:name> <maml:description> <maml:para>Include elements hidden from view.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <maml:description> <maml:para>Maximum number of elements to return.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Credentials for pages requiring authentication.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <maml:description> <maml:para>Basic authentication username.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <maml:description> <maml:para>Basic authentication password.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LoginUrl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LoginUrl</maml:name> <maml:description> <maml:para>URL of a login form.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UsernameSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UsernameSelector</maml:name> <maml:description> <maml:para>CSS selector for the username field.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PasswordSelector</maml:name> <maml:description> <maml:para>CSS selector for the password field.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubmitSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SubmitSelector</maml:name> <maml:description> <maml:para>CSS selector for the submit element.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>Optional case-insensitive filter applied to the element text.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: HtmlInteractableInfo --> <command:returnValue> <dev:type> <maml:name>PSParseHTML.HtmlInteractableInfo</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: ConvertFrom-HtmlList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-HtmlList</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>HtmlList</command:noun> <maml:description> <maml:para>Converts HTML lists into PowerShell objects by default.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlList</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AsString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsString</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagPlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TagPlaceholder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlList</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AsString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsString</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagPlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TagPlaceholder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content containing lists.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of a page with lists.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <maml:description> <maml:para>Selects parsing engine.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <maml:description> <maml:para>Include list metadata information.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AsString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsString</maml:name> <maml:description> <maml:para>Return list items as strings.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TagPlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TagPlaceholder</maml:name> <maml:description> <maml:para>Placeholder inserted between text segments when joining item text.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <maml:description> <maml:para>Proxy server address used when Url is specified. Include protocol and port if required.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <maml:description> <maml:para>Credentials used for authenticating with the specified Proxy server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: PSObject[] --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSObject[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Invoke-HTMLNavigation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Invoke-HTMLNavigation</command:name> <command:verb>Invoke</command:verb> <command:noun>HTMLNavigation</command:noun> <maml:description> <maml:para>Cmdlet that navigates an existing browser session to a new URL.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ByUrl --> <command:syntaxItem> <maml:name>Invoke-HTMLNavigation</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PassThru --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PassThru</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>30000</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: ByText --> <command:syntaxItem> <maml:name>Invoke-HTMLNavigation</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Text</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Exact --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Exact</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PassThru --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PassThru</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Regex --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Regex</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>30000</dev:defaultValue> </command:parameter> <!-- Parameter: WaitForNavigation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForNavigation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: BySelector --> <command:syntaxItem> <maml:name>Invoke-HTMLNavigation</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PassThru --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PassThru</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>30000</dev:defaultValue> </command:parameter> <!-- Parameter: WaitForNavigation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForNavigation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Existing browser session.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Url</maml:name> <maml:description> <maml:para>Destination URL.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Text</maml:name> <maml:description> <maml:para>Text of the element to click.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Selector</maml:name> <maml:description> <maml:para>CSS selector of the element to click.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Exact --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Exact</maml:name> <maml:description> <maml:para>Use exact text match.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Regex --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Regex</maml:name> <maml:description> <maml:para>Regular expression for text match.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WaitForNavigation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForNavigation</maml:name> <maml:description> <maml:para>Wait for navigation event after clicking.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PassThru --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Return the session object.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <maml:description> <maml:para>Timeout in milliseconds for navigation and clicks.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>30000</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: BrowserSession --> <command:returnValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Save-HTMLPdf --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-HTMLPdf</command:name> <command:verb>Save</command:verb> <command:noun>HTMLPdf</command:noun> <maml:description> <maml:para>Cmdlet that generates a PDF from a web page using a headless browser.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Default --> <command:syntaxItem> <maml:name>Save-HTMLPdf</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: DisplayHeaderFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DisplayHeaderFooter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FooterTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FooterTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Format --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Format</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HeaderTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HeaderTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Landscape --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Landscape</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MarginBottom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginBottom</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginLeft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginLeft</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginRight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginRight</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginTop --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginTop</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PageRanges --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PageRanges</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreferCssPageSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreferCssPageSize</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PrintBackground --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrintBackground</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Scale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scale</maml:name> <command:parameterValue required="true">float</command:parameterValue> <dev:type> <maml:name>System.Single</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Save-HTMLPdf</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: DisplayHeaderFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DisplayHeaderFooter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FooterTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FooterTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Format --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Format</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HeaderTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HeaderTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Landscape --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Landscape</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MarginBottom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginBottom</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginLeft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginLeft</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginRight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginRight</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginTop --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginTop</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PageRanges --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PageRanges</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreferCssPageSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreferCssPageSize</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PrintBackground --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrintBackground</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Scale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scale</maml:name> <command:parameterValue required="true">float</command:parameterValue> <dev:type> <maml:name>System.Single</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Session --> <command:syntaxItem> <maml:name>Save-HTMLPdf</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: DisplayHeaderFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DisplayHeaderFooter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FooterTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FooterTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Format --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Format</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HeaderTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HeaderTemplate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Landscape --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Landscape</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MarginBottom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginBottom</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginLeft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginLeft</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginRight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginRight</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginTop --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginTop</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PageRanges --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PageRanges</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreferCssPageSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreferCssPageSize</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PrintBackground --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrintBackground</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Scale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scale</maml:name> <command:parameterValue required="true">float</command:parameterValue> <dev:type> <maml:name>System.Single</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of the web page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a local HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Existing browser session.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <maml:description> <maml:para>File path for the PDF.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <maml:description> <maml:para>Browser engine to use for rendering.</maml:para> <maml:para>Possible values: Chromium, Firefox, Webkit</maml:para> </maml:description> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <maml:description> <maml:para>Force re-download of browser runtimes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <maml:description> <maml:para>Show the browser instead of running headless.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <maml:description> <maml:para>Slow down Playwright actions by the specified milliseconds.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open the PDF after saving.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <maml:description> <maml:para>Milliseconds to wait after the page loads.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <maml:description> <maml:para>CSS selector to wait for before generating the PDF.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Landscape --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Landscape</maml:name> <maml:description> <maml:para>Render the page in landscape orientation.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PrintBackground --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrintBackground</maml:name> <maml:description> <maml:para>Include background graphics.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Format --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Format</maml:name> <maml:description> <maml:para>Paper format (e.g. A4).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Paper width (e.g. 8.5in).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Paper height (e.g. 11in).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginTop --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginTop</maml:name> <maml:description> <maml:para>Top margin.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginRight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginRight</maml:name> <maml:description> <maml:para>Right margin.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginBottom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginBottom</maml:name> <maml:description> <maml:para>Bottom margin.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MarginLeft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MarginLeft</maml:name> <maml:description> <maml:para>Left margin.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PageRanges --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PageRanges</maml:name> <maml:description> <maml:para>Page ranges to print.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Scale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scale</maml:name> <maml:description> <maml:para>Scaling factor.</maml:para> </maml:description> <command:parameterValue required="true">float</command:parameterValue> <dev:type> <maml:name>System.Single</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DisplayHeaderFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DisplayHeaderFooter</maml:name> <maml:description> <maml:para>Display headers and footers.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: HeaderTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HeaderTemplate</maml:name> <maml:description> <maml:para>Header HTML template.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FooterTemplate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FooterTemplate</maml:name> <maml:description> <maml:para>Footer HTML template.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreferCssPageSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreferCssPageSize</maml:name> <maml:description> <maml:para>Prefer CSS @page size rules.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Save-HTMLPdf -Url https://example.com -OutFile page.pdf</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Invoke-HTMLRendering --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Invoke-HTMLRendering</command:name> <command:verb>Invoke</command:verb> <command:noun>HTMLRendering</command:noun> <maml:description> <maml:para>Cmdlet that retrieves HTML content after executing JavaScript using a headless browser.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Default --> <command:syntaxItem> <maml:name>Invoke-HTMLRendering</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LoginUrl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LoginUrl</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoDefault --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NoDefault</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PasswordSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Session</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SubmitSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SubmitSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UsernameSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UsernameSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Invoke-HTMLRendering</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LoginUrl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LoginUrl</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoDefault --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NoDefault</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PasswordSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Session</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SubmitSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SubmitSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UsernameSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UsernameSelector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of the web page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a local HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutFile</maml:name> <maml:description> <maml:para>Optional file path to save the rendered HTML.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <maml:description> <maml:para>Browser engine to use for rendering.</maml:para> <maml:para>Possible values: Chromium, Firefox, Webkit</maml:para> </maml:description> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <maml:description> <maml:para>Force re-download of browser runtimes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Credentials used when accessing authenticated pages.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <maml:description> <maml:para>Username for pages secured with basic authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password for pages secured with basic authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LoginUrl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LoginUrl</maml:name> <maml:description> <maml:para>URL for login form when using form authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UsernameSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UsernameSelector</maml:name> <maml:description> <maml:para>CSS selector for the username field of the login form.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PasswordSelector</maml:name> <maml:description> <maml:para>CSS selector for the password field of the login form.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubmitSelector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SubmitSelector</maml:name> <maml:description> <maml:para>CSS selector for the submit element of the login form.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Session</maml:name> <maml:description> <maml:para>Return a browser session instead of HTML.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NoDefault --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NoDefault</maml:name> <maml:description> <maml:para>Do not set the opened session as the default session.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <maml:description> <maml:para>Show the browser instead of running headless.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <maml:description> <maml:para>Slow down Playwright actions by the specified milliseconds.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: BrowserSession --> <command:returnValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:returnValue> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Invoke-HTMLRendering -Url https://example.com -Browser Chromium -Clean</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-HTMLScreenshot --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-HTMLScreenshot</command:name> <command:verb>Save</command:verb> <command:noun>HTMLScreenshot</command:noun> <maml:description> <maml:para>Cmdlet that captures a screenshot of a web page using a headless browser.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Default --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Full --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Full</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Clip --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FileDefault --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Full --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Full</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FileClip --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: SessionDefault --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Full --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Full</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: SessionClip --> <command:syntaxItem> <maml:name>Save-HTMLScreenshot</maml:name> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of the web page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a local HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Session --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Existing browser session.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutFile</maml:name> <maml:description> <maml:para>File path for the screenshot.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Browser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Browser</maml:name> <maml:description> <maml:para>Browser engine to use for rendering.</maml:para> <maml:para>Possible values: Chromium, Firefox, Webkit</maml:para> </maml:description> <command:parameterValue required="true">BrowserEngine</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserEngine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Chromium</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Chromium</command:parameterValue> <command:parameterValue required="false" variableLength="false">Firefox</command:parameterValue> <command:parameterValue required="false" variableLength="false">Webkit</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Clean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Clean</maml:name> <maml:description> <maml:para>Force re-download of browser runtimes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Visible --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Visible</maml:name> <maml:description> <maml:para>Show the browser instead of running headless.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SlowMo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SlowMo</maml:name> <maml:description> <maml:para>Slow down Playwright actions by the specified milliseconds.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open the screenshot after saving.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Full --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Full</maml:name> <maml:description> <maml:para>Capture the entire page.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Delay --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Delay</maml:name> <maml:description> <maml:para>Milliseconds to wait after the page loads.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Selector --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Selector</maml:name> <maml:description> <maml:para>CSS selector to wait for before capturing.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate for a clip region.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate for a clip region.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of the clip region.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of the clip region.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Save-HTMLScreenshot -Url https://example.com -OutFile page.png</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Close-HTMLSession --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Close-HTMLSession</command:name> <command:verb>Close</command:verb> <command:noun>HTMLSession</command:noun> <maml:description> <maml:para>Cmdlet that disposes an existing browser session.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Close-HTMLSession</maml:name> <!-- Parameter: Session --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Session --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Session</maml:name> <maml:description> <maml:para>Browser session to dispose.</maml:para> </maml:description> <command:parameterValue required="true">BrowserSession</command:parameterValue> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSParseHTML.BrowserSession</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: ConvertFrom-HtmlTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-HtmlTable</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>HtmlTable</command:noun> <maml:description> <maml:para>Converts HTML tables into PowerShell objects.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The cmdlet accepts raw HTML or downloads a page using -Url. When downloading you can specify -Proxy and -ProxyCredential.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlTable</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: AllProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllProperties</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CleanHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CleanHeaders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: EmptyValuePlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>EmptyValuePlaceholder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceContent</maml:name> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceHeaders</maml:name> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReverseTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReverseTable</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipFooter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>ConvertFrom-HtmlTable</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllProperties</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CleanHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CleanHeaders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: EmptyValuePlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>EmptyValuePlaceholder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceContent</maml:name> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceHeaders</maml:name> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReverseTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReverseTable</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipFooter</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content containing tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of a page with tables.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceContent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceContent</maml:name> <maml:description> <maml:para>Replacements to apply to table cell contents.</maml:para> </maml:description> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceHeaders</maml:name> <maml:description> <maml:para>Replacements to apply to table headers.</maml:para> </maml:description> <command:parameterValue required="true">IDictionary</command:parameterValue> <dev:type> <maml:name>System.Collections.IDictionary</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Engine --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Engine</maml:name> <maml:description> <maml:para>Selects parsing engine.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AgilityPack</dev:defaultValue> </command:parameter> <!-- Parameter: ReverseTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReverseTable</maml:name> <maml:description> <maml:para>Interpret table rows as key/value pairs.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeMetadata</maml:name> <maml:description> <maml:para>Include table metadata information.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AllProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllProperties</maml:name> <maml:description> <maml:para>Pad rows with missing cells.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: EmptyValuePlaceholder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>EmptyValuePlaceholder</maml:name> <maml:description> <maml:para>Value to use for empty cells to improve PowerShell formatting compatibility.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CleanHeaders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CleanHeaders</maml:name> <maml:description> <maml:para>Automatically clean special characters from header names that can cause PowerShell formatting issues.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipFooter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipFooter</maml:name> <maml:description> <maml:para>Skip HTML table footer (<tfoot>) elements when parsing tables.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <maml:description> <maml:para>Proxy server address used when Url is specified. Include protocol and port if required.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <maml:description> <maml:para>Credentials used for authenticating with the specified Proxy server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: PSObject[] --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSObject[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Parse the first table from a URL ----------</maml:title> <dev:code>ConvertFrom-HtmlTable -Url https://example.com</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Download through a proxy server ----------</maml:title> <dev:code>ConvertFrom-HtmlTable -Url https://example.com -Proxy http://proxy:8080</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Convert-HTMLToText --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Convert-HTMLToText</command:name> <command:verb>Convert</command:verb> <command:noun>HTMLToText</command:noun> <maml:description> <maml:para>Converts HTML content to plain text.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>You can provide raw HTML, a local file, or download a page with -Url. When downloading, optional -Proxy and -ProxyCredential can be used.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Convert-HTMLToText</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Convert-HTMLToText</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Url --> <command:syntaxItem> <maml:name>Convert-HTMLToText</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>HTML content to convert.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a HTML file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="Uri"> <maml:name>Url</maml:name> <maml:description> <maml:para>URL of a HTML page to download and convert.</maml:para> </maml:description> <command:parameterValue required="true">Uri</command:parameterValue> <dev:type> <maml:name>System.Uri</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional path to write the resulting text.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Proxy --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Proxy</maml:name> <maml:description> <maml:para>Proxy server address used when downloading from Url. Include the protocol and port if necessary.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProxyCredential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProxyCredential</maml:name> <maml:description> <maml:para>Credentials used for the Proxy server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Convert a simple HTML string ----------</maml:title> <dev:code>Convert-HTMLToText -Content "<p>Hello</p>"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Download through a proxy ----------</maml:title> <dev:code>Convert-HTMLToText -Url https://example.com -Proxy http://proxy:8080</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Format-JavaScript --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Format-JavaScript</command:name> <command:verb>Format</command:verb> <command:noun>JavaScript</command:noun> <maml:description> <maml:para>Cmdlet that formats JavaScript code using JsBeautifier.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Format-JavaScript</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="FileContent"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Format-JavaScript</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="FileContent"> <maml:name>Content</maml:name> <maml:description> <maml:para>JavaScript code to format.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a JavaScript file to format.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional path to write the formatted JavaScript.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Optimize-JavaScript --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Optimize-JavaScript</command:name> <command:verb>Optimize</command:verb> <command:noun>JavaScript</command:noun> <maml:description> <maml:para>Cmdlet that minifies JavaScript code.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: File --> <command:syntaxItem> <maml:name>Optimize-JavaScript</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Content --> <command:syntaxItem> <maml:name>Optimize-JavaScript</maml:name> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="File"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to a JavaScript file to optimize.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: Content --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>JavaScript content to optimize.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Optional file path to write optimized output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: String --> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1 ----------</maml:title> <dev:code>Optimize-JavaScript -Content $js</dev:code> </command:example> </command:examples> </command:command> </helpItems> |