SS.PowerShell.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Test-JsonSchema --> <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>Test-JsonSchema</command:name> <command:verb>Test</command:verb> <command:noun>JsonSchema</command:noun> <maml:description> <maml:para>Determines whether the JSON file is valid.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Determines whether the JSON file is valid.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: SchemaInJsonFile --> <command:syntaxItem> <maml:name>Test-JsonSchema</maml:name> <!-- Parameter: JsonFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>JsonFile</maml:name> <maml:description> <maml:para>The source JSON file to test.</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: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Encoding type to use when reading schema and JSON file.</maml:para> <maml:para>Possible values: Default, ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, UTF8</maml:para> </maml:description> <command:parameterValue required="true">EncodingType</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.EncodingType</maml:name> <maml:uri /> <maml:description> <maml:para>Types of text encoding to use when reading content.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">ASCII</command:parameterValue> <command:parameterValue required="false" variableLength="false">BigEndianUnicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">Unicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF32</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF7</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF8</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: IgnoreReferenceResolvingWarnings --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreReferenceResolvingWarnings</maml:name> <maml:description> <maml:para>Do not write warning messages when schema is resolving external referenced schema's.</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: SchemaFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SchemaFile</maml:name> <maml:description> <maml:para>The JSON schema file to test against.</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: SchemaInJsonFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SchemaInJsonFile</maml:name> <maml:description> <maml:para>The JSON schema file should be read from the '$schema' parameter in the JSON file.</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:syntaxItem> <!-- Parameter set: SchemaFile --> <command:syntaxItem> <maml:name>Test-JsonSchema</maml:name> <!-- Parameter: SchemaFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SchemaFile</maml:name> <maml:description> <maml:para>The JSON schema file to test against.</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: JsonFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>JsonFile</maml:name> <maml:description> <maml:para>The source JSON file to test.</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: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Encoding type to use when reading schema and JSON file.</maml:para> <maml:para>Possible values: Default, ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, UTF8</maml:para> </maml:description> <command:parameterValue required="true">EncodingType</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.EncodingType</maml:name> <maml:uri /> <maml:description> <maml:para>Types of text encoding to use when reading content.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">ASCII</command:parameterValue> <command:parameterValue required="false" variableLength="false">BigEndianUnicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">Unicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF32</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF7</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF8</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: IgnoreReferenceResolvingWarnings --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreReferenceResolvingWarnings</maml:name> <maml:description> <maml:para>Do not write warning messages when schema is resolving external referenced schema's.</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:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SchemaInJsonFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SchemaInJsonFile</maml:name> <maml:description> <maml:para>The JSON schema file should be read from the '$schema' parameter in the JSON file.</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: SchemaFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SchemaFile</maml:name> <maml:description> <maml:para>The JSON schema file to test against.</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: JsonFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>JsonFile</maml:name> <maml:description> <maml:para>The source JSON file to test.</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: IgnoreReferenceResolvingWarnings --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IgnoreReferenceResolvingWarnings</maml:name> <maml:description> <maml:para>Do not write warning messages when schema is resolving external referenced schema's.</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: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Encoding type to use when reading schema and JSON file.</maml:para> <maml:para>Possible values: Default, ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, UTF8</maml:para> </maml:description> <command:parameterValue required="true">EncodingType</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.EncodingType</maml:name> <maml:uri /> <maml:description> <maml:para>Types of text encoding to use when reading content.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">ASCII</command:parameterValue> <command:parameterValue required="false" variableLength="false">BigEndianUnicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">Unicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF32</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF7</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF8</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: SchemaTestResult`1 --> <command:returnValue> <dev:type> <maml:name>SS.PowerShell.SchemaTestResult`1[[Newtonsoft.Json.Schema.ValidationError, Newtonsoft.Json.Schema, Version=3.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Result object that is returned from schema test.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Test-JsonSchema schema.json source.json</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <dev:code>Test-JsonSchema schema.json source.json UTF8</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-OutlookEmail --> <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>New-OutlookEmail</command:name> <command:verb>New</command:verb> <command:noun>OutlookEmail</command:noun> <maml:description> <maml:para>Create a new Email Object for creating a Outlook MSG file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Create a new Email Object for creating a Outlook MSG file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-OutlookEmail</maml:name> <!-- Parameter: Subject --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <maml:description> <maml:para>The subject of the E-mail.</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: BodyHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BodyHtml</maml:name> <maml:description> <maml:para>The html body of the E-mail.</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: BodyText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BodyText</maml:name> <maml:description> <maml:para>The text body of the E-mail.</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: Draft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Draft</maml:name> <maml:description> <maml:para>If the message is set as a draft message.</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: Importance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Importance</maml:name> <maml:description> <maml:para>Relative priority of the message.</maml:para> <maml:para>Possible values: Low, Normal, High</maml:para> </maml:description> <command:parameterValue required="true">EmailImportance</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailImportance</maml:name> <maml:uri /> <maml:description> <maml:para>Contains the relative priority of a message.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Normal</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SenderDisplayName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SenderDisplayName</maml:name> <maml:description> <maml:para>The display name of the Sender of the E-mail.</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: SenderEmail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SenderEmail</maml:name> <maml:description> <maml:para>The full E-mail address of the Sender of the E-mail.</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:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SenderEmail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SenderEmail</maml:name> <maml:description> <maml:para>The full E-mail address of the Sender of the E-mail.</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: SenderDisplayName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SenderDisplayName</maml:name> <maml:description> <maml:para>The display name of the Sender of the E-mail.</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: Subject --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <maml:description> <maml:para>The subject of the E-mail.</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: Draft --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Draft</maml:name> <maml:description> <maml:para>If the message is set as a draft message.</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: BodyText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BodyText</maml:name> <maml:description> <maml:para>The text body of the E-mail.</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: BodyHtml --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>BodyHtml</maml:name> <maml:description> <maml:para>The html body of the E-mail.</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: Importance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Importance</maml:name> <maml:description> <maml:para>Relative priority of the message.</maml:para> <maml:para>Possible values: Low, Normal, High</maml:para> </maml:description> <command:parameterValue required="true">EmailImportance</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailImportance</maml:name> <maml:uri /> <maml:description> <maml:para>Contains the relative priority of a message.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Normal</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: EmailObject --> <command:returnValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Used to make a new Outlook E-mail MSG file.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>New-OutlookEmail </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-OutlookEmail --> <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-OutlookEmail</command:name> <command:verb>Save</command:verb> <command:noun>OutlookEmail</command:noun> <maml:description> <maml:para>Save a Email Object as a Outlook MSG file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Save a Email Object as a Outlook MSG file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Save-OutlookEmail</maml:name> <!-- Parameter: File --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>File</maml:name> <maml:description> <maml:para>Filename and/or path for Outlook MSG 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: Email --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email Object to be saved as Outlook MSG file.</maml:para> </maml:description> <command:parameterValue required="true">EmailObject</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> <maml:description> <maml:para>Used to make a new Outlook E-mail MSG file.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: Force --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Force to overwrite file without prompting if it already exists.</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:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Email --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email Object to be saved as Outlook MSG file.</maml:para> </maml:description> <command:parameterValue required="true">EmailObject</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> <maml:description> <maml:para>Used to make a new Outlook E-mail MSG file.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: File --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>File</maml:name> <maml:description> <maml:para>Filename and/or path for Outlook MSG 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: Force --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Force to overwrite file without prompting if it already exists.</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>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Email Object to be saved as Outlook MSG file.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Save-OutlookEmail </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-OutlookEmailAttachment --> <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>Add-OutlookEmailAttachment</command:name> <command:verb>Add</command:verb> <command:noun>OutlookEmailAttachment</command:noun> <maml:description> <maml:para>Save a Email Object as a Outlook MSG file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Save a Email Object as a Outlook MSG file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-OutlookEmailAttachment</maml:name> <!-- Parameter: File --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>File</maml:name> <maml:description> <maml:para>Filename and/or path of attachment.</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: Email --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email Object to have attachment added.</maml:para> </maml:description> <command:parameterValue required="true">EmailObject</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> <maml:description> <maml:para>Used to make a new Outlook E-mail MSG file.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: ContentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ContentId</maml:name> <maml:description> <maml:para>What is the content id of the in-line attachment.</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: Inline --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Inline</maml:name> <maml:description> <maml:para>Is attachment in-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> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Email --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email Object to have attachment added.</maml:para> </maml:description> <command:parameterValue required="true">EmailObject</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> <maml:description> <maml:para>Used to make a new Outlook E-mail MSG file.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: File --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>File</maml:name> <maml:description> <maml:para>Filename and/or path of attachment.</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: Inline --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Inline</maml:name> <maml:description> <maml:para>Is attachment in-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: ContentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ContentId</maml:name> <maml:description> <maml:para>What is the content id of the in-line attachment.</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>SS.PowerShell.Outlook.EmailObject</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Email Object to have attachment added.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Save-OutlookEmail </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Test-XmlSchema --> <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>Test-XmlSchema</command:name> <command:verb>Test</command:verb> <command:noun>XmlSchema</command:noun> <maml:description> <maml:para>Determines whether the XML file is valid.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Determines whether the XML file is valid.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Test-XmlSchema</maml:name> <!-- Parameter: SchemaFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SchemaFile</maml:name> <maml:description> <maml:para>The XSD schema file to test against.</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: XmlFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>XmlFile</maml:name> <maml:description> <maml:para>The source XML file to test.</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: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Encoding type to use when reading schema and XML file.</maml:para> <maml:para>Possible values: Default, ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, UTF8</maml:para> </maml:description> <command:parameterValue required="true">EncodingType</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.EncodingType</maml:name> <maml:uri /> <maml:description> <maml:para>Types of text encoding to use when reading content.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">ASCII</command:parameterValue> <command:parameterValue required="false" variableLength="false">BigEndianUnicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">Unicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF32</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF7</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF8</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SchemaFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SchemaFile</maml:name> <maml:description> <maml:para>The XSD schema file to test against.</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: XmlFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>XmlFile</maml:name> <maml:description> <maml:para>The source XML file to test.</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: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Encoding type to use when reading schema and XML file.</maml:para> <maml:para>Possible values: Default, ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, UTF8</maml:para> </maml:description> <command:parameterValue required="true">EncodingType</command:parameterValue> <dev:type> <maml:name>SS.PowerShell.EncodingType</maml:name> <maml:uri /> <maml:description> <maml:para>Types of text encoding to use when reading content.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">ASCII</command:parameterValue> <command:parameterValue required="false" variableLength="false">BigEndianUnicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">Unicode</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF32</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF7</command:parameterValue> <command:parameterValue required="false" variableLength="false">UTF8</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: SchemaTestResult`1 --> <command:returnValue> <dev:type> <maml:name>SS.PowerShell.SchemaTestResult`1[[System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Result object that is returned from schema test.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Test-XmlSchema schema.xsd source.xml</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <dev:code>Test-XmlSchema schema.xsd source.xml UTF8</dev:code> </command:example> </command:examples> </command:command> </helpItems> |