en-US/Encode-FileToBase64.help.xml
<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/command/2004/10"> <command:details> <command:name>Encode-FileToBase64</command:name> <maml:description> <maml:para>Encodes the contents of a specified file into a Base64 string and saves the output to a new file with '.64SE' appended to the original filename.</maml:para> </maml:description> <command:verb>Encode</command:verb> <command:noun>FileToBase64</command:noun> <command:version>1.0.0</command:version> </command:details> <command:syntax> <command:syntaxItem> <maml:name>Encode-FileToBase64</maml:name> <command:parameter required="true" position="0" globbing="false"> <maml:name>FilePath</maml:name> <maml:description> <maml:para>The path to the file to be encoded.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false" type="System.String" /> </command:parameter> </command:syntaxItem> </command:syntax> <command:description> <maml:para>This cmdlet encodes the contents of a specified file into a Base64 string and saves the output to a new file with '.64SE' appended to the original filename.</maml:para> </command:description> <command:examples> <command:example> <maml:para>EXAMPLE 1</maml:para> <maml:code>Encode-FileToBase64 -FilePath "C:\path\to\file.txt"</maml:code> <maml:remarks> <maml:para>Encodes the contents of the file at "C:\path\to\file.txt" to Base64 and saves it as "C:\path\to\file.txt.64SE".</maml:para> </maml:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> |