en-US/WinSCP-Help.xml

<?xml version="1.0" encoding="utf-8"?><helpItems schema="maml">
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>ConvertTo-WinSCPEscapedString</command:name>
        <maml:description>
            <maml:para>Converts the special characters in string.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>ConvertTo</command:verb>
        <command:noun>WinSCPEscapedString</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Escapes special characters so they are not misinterpreted as wildcards or other special characters.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>ConvertTo-WinSCPEscapedString</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0">
                <maml:name>FileMask</maml:name>
                <maml:description>
                    <maml:para>File path to convert.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0">
            <maml:name>FileMask</maml:name>
            <maml:description>
                <maml:para>File path to convert.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>Useful with Send-WinSCPItem, Receive-WinSCPItem, Remove-WinSCPItem cmdlets.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; ConvertTo-WinSCPEscapedString -FileMask &apos;FileWithA*InName.txt&apos;

FileWithA[*]InName.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $session = New-WinSCPSession -Hostname &apos;myftphost.org&apos; -UserName &apos;ftpuser&apos; -Password &apos;FtpUserPword&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; $fileName = ConvertTo-WinSCPEscapedString -FileMask &apos;FileWithA*InName.txt&apos;
PS C:\&gt; Receive-WinSCPItem -WinSCPSession $session -RemoteItem &quot;/rDir/$fileName&quot; -LocalItem &apos;C:\lDir\&apos;

Transfers Failures IsSuccess
--------- -------- ---------
{/rDir/FileWithA*InName.txt} {} True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>EscapeFileMask Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_escapefilemask</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-WinSCPChildItem</command:name>
        <maml:description>
            <maml:para>Shows the contents of a remote directory.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>WinSCPChildItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Displays the contents within a remote directory, including other directories and files.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-WinSCPChildItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies a path to one or more locations. Wildcards are permitted. The default location is the home directory of the user making the connection.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Filter</maml:name>
                <maml:description>
                    <maml:para>Filter to be applied to returned objects.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Recurse</maml:name>
                <maml:description>
                    <maml:para>Return items from all subdirectories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>Depth</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Directory</maml:name>
                <maml:description>
                    <maml:para>Return only directory objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>File</maml:name>
                <maml:description>
                    <maml:para>Return only file objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies a path to one or more locations. Wildcards are permitted. The default location is the home directory of the user making the connection.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Filter</maml:name>
            <maml:description>
                <maml:para>Filter to be applied to returned objects.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>*</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Recurse</maml:name>
            <maml:description>
                <maml:para>Return items from all subdirectories.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>Depth</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Directory</maml:name>
            <maml:description>
                <maml:para>Return only directory objects.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>File</maml:name>
            <maml:description>
                <maml:para>Return only file objects.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Array</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.array(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Get-WinSCPChildItem -Path &apos;/rDir/&apos;

   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 rSubDir
- 1/1/2015 12:00:00 AM 0 rTextFile.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
Get-WinSCPChildItem -WinSCPSession $session -Path &apos;/rDir/&apos; -Recurse

   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 rSubDir
- 1/1/2015 12:00:00 AM 0 rTextFile.txt


   Directory: /rDir/rSubDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
- 1/1/2015 12:00:00 AM 0 rSubDirTextFile.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>RemoteFileInfo Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_remotefileinfo</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Retrieves information about a File or Directory from an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Retrieves Name, FileType, Length, LastWriteTime, FilePermissions, and IsDirectory Properties on an Item from an Active WinSCP Session.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote Item.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Filter</maml:name>
                <maml:description>
                    <maml:para>Filters the returned results.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote Item.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Filter</maml:name>
            <maml:description>
                <maml:para>Filters the returned results.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>*</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.RemoteFileInfo</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_remotefileinfo</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents data about remote file.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Get-WinSCPItem -Path &apos;/rDir/rSubDir&apos;

   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 /rdir/rSubDir</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Get-WinSCPItem -WinSCPSession $session -Path &apos;/rDir/rSubDir&apos;

   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 /rdir/rSubDir</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>RemoteFileInfo Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_remotefileinfo</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-WinSCPItemChecksum</command:name>
        <maml:description>
            <maml:para>Calculates a checksum of a remote file.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>WinSCPItemChecksum</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Use IANA Algorithm to retrieve the checksum of a remote file.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-WinSCPItemChecksum</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Algorithm</maml:name>
                <maml:description>
                    <maml:para>A name of a checksum algorithm to use. Use IANA name of algorithm or use a name of any proprietary algorithm the server supports (with SFTP protocol only). Commonly supported algorithms are sha-1 and md5.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>A full path to a remote file to calculate a checksum for.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Algorithm</maml:name>
            <maml:description>
                <maml:para>A name of a checksum algorithm to use. Use IANA name of algorithm or use a name of any proprietary algorithm the server supports (with SFTP protocol only). Commonly supported algorithms are sha-1 and md5.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>A full path to a remote file to calculate a checksum for.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Array</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.array(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -Hostname &apos;myftphost.org&apos; -Protocol Ftp | Get-WinSCPItemChecksum -Algorithm &apos;sha-1&apos; -Path &apos;/rDir/file.txt&apos;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>CalculateFileChecksum Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_calculatefilechecksum</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Invoke-WinSCPCommand</command:name>
        <maml:description>
            <maml:para>Invokes a command on an Active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Invoke</command:verb>
        <command:noun>WinSCPCommand</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Invokes a command on the system hosting the FTP/SFTP Service.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Invoke-WinSCPCommand</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Command</maml:name>
                <maml:description>
                    <maml:para>Command to execute.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Command</maml:name>
            <maml:description>
                <maml:para>Command to execute.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.CommandExecutionResult</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_commandexecutionresult</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents results of Session.ExecuteCommand.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Invoke-WinSCPCommand -WinSCPSession $session -Command (&quot;mysqldump --opt -u {0} --password={1} --all-databases | gzip &gt; {2}&quot; -f $dbUsername, $dbPassword, $tempFilePath)</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>CommandExecutionResult Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_commandexecutionresult</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Move-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Moves an item from one location to another from an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Move</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Once connected to an active WinSCP Session, one or many files can be moved to another location within the same WinSCP Session.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Move-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote item to be moved.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Destination</maml:name>
                <maml:description>
                    <maml:para>Full path to new location to move the item to.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Creates the destination directory if it does not exist.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Returns a WinSCP.RemoteFileInfo of the moved object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote item to be moved.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Destination</maml:name>
            <maml:description>
                <maml:para>Full path to new location to move the item to.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Creates the destination directory if it does not exist.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>PassThru</maml:name>
            <maml:description>
                <maml:para>Returns a WinSCP.RemoteFileInfo of the moved object.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Move-WinSCPItem -Path &apos;/rDir/rFile.txt&apos; -Destination &apos;/rDir/rSubDir/&apos;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Move-WinSCPItem -WinSCPSession $session -Path &apos;/rDir/rFile.txt&apos; -Destination &apos;/rDir/rSubDir/&apos; -PassThru

   Directory: /rdir/rSubdir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 rFile.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>MoveFile Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_movefile</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Creates a directory on an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>After creating a valid WinSCP Session, this function can be used to create new directory or nested directories.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote directory to create.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>The name of the new item to be created. This can be omitted if full path is used to the new item.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>ItemType</maml:name>
                <maml:description>
                    <maml:para>The type of object to be created, IE: File, Directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                <maml:name>Value</maml:name>
                <maml:description>
                    <maml:para>Initial value to add to the object being created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Will overwrite and existing item of the same name.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote directory to create.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>The name of the new item to be created. This can be omitted if full path is used to the new item.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>ItemType</maml:name>
            <maml:description>
                <maml:para>The type of object to be created, IE: File, Directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>File</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
            <maml:name>Value</maml:name>
            <maml:description>
                <maml:para>Initial value to add to the object being created.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Will overwrite and existing item of the same name.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.RemoteFileInfo</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_remotefileinfo</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents data about remote file.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | New-WinSCPItem-Path &apos;/rDir/rSubDir&apos; -ItemType Directory

   Directory: /rDir/

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 /rSubDir</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; New-WinSCPItem -WinSCPSession $session -Path &apos;./rDir&apos; -Name &apos;rTextFile.txt&apos; -ItemType File -Value &apos;Hello World!&apos;
   
   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
- 1/1/2015 12:00:00 AM 12 /rTextFile.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>RemoteFileInfo Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_remotefileinfo</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-WinSCPItemPermission</command:name>
        <maml:description>
            <maml:para>Represents *nix-style remote file permissions.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>WinSCPItemPermission</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Creates a new WinSCP.FilePermmissions object that can be used with Send-WinSCPItem to apply permissions.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-WinSCPItemPermission</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GroupExecute</maml:name>
                <maml:description>
                    <maml:para>Execute permission for group.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GroupRead</maml:name>
                <maml:description>
                    <maml:para>Read permission for group.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GroupWrite</maml:name>
                <maml:description>
                    <maml:para>Read permission for group.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Numeric</maml:name>
                <maml:description>
                    <maml:para>Permissions as a number.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Octal</maml:name>
                <maml:description>
                    <maml:para>Permissions in octal format, e.g. &quot;644&quot;. Octal format has 3 or 4 (when any special permissions are set) digits.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OtherExecute</maml:name>
                <maml:description>
                    <maml:para>Execute permission for others.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OtherRead</maml:name>
                <maml:description>
                    <maml:para>Read permission for others.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OtherWrite</maml:name>
                <maml:description>
                    <maml:para>Write permission for others.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SetGid</maml:name>
                <maml:description>
                    <maml:para>Grants the user, who executes the file, permissions of file group.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SetUid</maml:name>
                <maml:description>
                    <maml:para>Grants the user, who executes the file, permissions of file owner.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Sticky</maml:name>
                <maml:description>
                    <maml:para>Sticky bit.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Text</maml:name>
                <maml:description>
                    <maml:para>Permissions as a text in format &quot;rwxrwxrwx&quot;.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UserExecute</maml:name>
                <maml:description>
                    <maml:para>Execute permission for owner.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UserRead</maml:name>
                <maml:description>
                    <maml:para>Read permission for owner.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UserWrite</maml:name>
                <maml:description>
                    <maml:para>Write permission for owner.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GroupExecute</maml:name>
            <maml:description>
                <maml:para>Execute permission for group.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GroupRead</maml:name>
            <maml:description>
                <maml:para>Read permission for group.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GroupWrite</maml:name>
            <maml:description>
                <maml:para>Read permission for group.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Numeric</maml:name>
            <maml:description>
                <maml:para>Permissions as a number.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Octal</maml:name>
            <maml:description>
                <maml:para>Permissions in octal format, e.g. &quot;644&quot;. Octal format has 3 or 4 (when any special permissions are set) digits.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OtherExecute</maml:name>
            <maml:description>
                <maml:para>Execute permission for others.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OtherRead</maml:name>
            <maml:description>
                <maml:para>Read permission for others.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OtherWrite</maml:name>
            <maml:description>
                <maml:para>Write permission for others.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SetGid</maml:name>
            <maml:description>
                <maml:para>Grants the user, who executes the file, permissions of file group.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SetUid</maml:name>
            <maml:description>
                <maml:para>Grants the user, who executes the file, permissions of file owner.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Sticky</maml:name>
            <maml:description>
                <maml:para>Sticky bit.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Text</maml:name>
            <maml:description>
                <maml:para>Permissions as a text in format &quot;rwxrwxrwx&quot;.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UserExecute</maml:name>
            <maml:description>
                <maml:para>Execute permission for owner.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UserRead</maml:name>
            <maml:description>
                <maml:para>Read permission for owner.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UserWrite</maml:name>
            <maml:description>
                <maml:para>Write permission for owner.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>None</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.FilePermissions</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_filepermissions</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents *nix-style remote file permissions.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>Can only be used with File Uploads.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPItemPermission

Numeric : 0
Text : ---------
Octal : 000
OtherExecute : False
OtherWrite : False
OtherRead : False
GroupExecute : False
GroupWrite : False
GroupRead : False
UserExecute : False
UserWrite : False
UserRead : False
Sticky : False
SetGid : False
SetUid : False</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPItemPermission -GroupExecute -GroupRead -UserExecute -UserRead

Numeric : 360
Text : r-xr-x---
Octal : 550
OtherExecute : False
OtherWrite : False
OtherRead : False
GroupExecute : True
GroupWrite : False
GroupRead : True
UserExecute : True
UserWrite : False
UserRead : True
Sticky : False
SetGid : False
SetUid : False</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>FilePermissions Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_filepermissions</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-WinSCPSession</command:name>
        <maml:description>
            <maml:para>Defines information to allow an automatic connection and authentication of the session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>WinSCPSession</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Defines all settings that can be configured for the WinSCP.SessionOptions Object, then opens and returns the WinSCP.Session Object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-WinSCPSession</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>PSCredential object used for authentication.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>FtpMode</maml:name>
                <maml:description>
                    <maml:para>Possible values are FtpMode.Passive (default) and FtpMode.Active.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">FtpMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>FtpSecure</maml:name>
                <maml:description>
                    <maml:para>FTPS mode. Possible values are FtpSecure.None (default), FtpSecure.Implicit and FtpSecure.Explicit (FtpSecure.ExplicitTls in older versions).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">FtpSecure</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GiveUpSecurityAndAcceptAnySshHostKey</maml:name>
                <maml:description>
                    <maml:para>Give up security and accept any SSH host key. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use SshHostKeyFingerprint.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GiveUpSecureityAndAcceptAnyTlsHostCertificate</maml:name>
                <maml:description>
                    <maml:para>Give up security and accept any FTPS/WebDAVS server TLS/SSL certificate. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use TlsHostCertificateFingerprint.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>HostName</maml:name>
                <maml:description>
                    <maml:para>Name of the host to connect to. Mandatory property.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                <maml:name>PortNumber</maml:name>
                <maml:description>
                    <maml:para>Port number to connect to. Keep default 0 to use the default port for the protocol.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
                <maml:name>Protocol</maml:name>
                <maml:description>
                    <maml:para>Protocol to use for the session. Possible values are Protocol.Sftp (default), Protocol.Scp, Protocol.Ftp and Protocol.Webdav.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Protocol</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="6">
                <maml:name>SshHostKeyFingerprint</maml:name>
                <maml:description>
                    <maml:para>Fingerprint of SSH server host key (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically accept host key with the fingerprint. Mandatory for SFTP/SCP protocol.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7">
                <maml:name>SshPrivateKeyPath</maml:name>
                <maml:description>
                    <maml:para>Full path to private key file.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="8">
                <maml:name>SshPrivateKeySecurePassphrase</maml:name>
                <maml:description>
                    <maml:para>Passphrase for encrypted private keys.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="9">
                <maml:name>TlsHostCertificateFingerprint</maml:name>
                <maml:description>
                    <maml:para>Fingerprint of FTPS/WebDAVS server TLS/SSL certificate to be automatically accepted (useful for certificates signed by untrusted authority).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="10">
                <maml:name>Timeout</maml:name>
                <maml:description>
                    <maml:para>Server response timeout. Defaults to 15 seconds.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WebdavSecure</maml:name>
                <maml:description>
                    <maml:para>Use WebDAVS (WebDAV over TLS/SSL), instead of WebDAV.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="11">
                <maml:name>WebdavRoot</maml:name>
                <maml:description>
                    <maml:para>WebDAV root path.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="12">
                <maml:name>RawSetting</maml:name>
                <maml:description>
                    <maml:para>A Hashtable of Settings and Values to add to the WinSCP.SessionOptions Object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="13">
                <maml:name>DebugLogPath</maml:name>
                <maml:description>
                    <maml:para>Path to store assembly debug log to. Default null means, no debug log file is created. See also SessionLogPath. The property has to be set before calling Open.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="14">
                <maml:name>SessionLogPath</maml:name>
                <maml:description>
                    <maml:para>Path to store session log file to. Default null means, no session log file is created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="15">
                <maml:name>ReconnectTime</maml:name>
                <maml:description>
                    <maml:para>Sets time limit in seconds to try reconnecting broken sessions. Default is 120 seconds. Use TimeSpan.MaxValue to remove any limit.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="16">
                <maml:name>FileTransferProgress</maml:name>
                <maml:description>
                    <maml:para>Adds the ability to run a script block for each file transfer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>PSCredential object used for authentication.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(Get-Credential)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>FtpMode</maml:name>
            <maml:description>
                <maml:para>Possible values are FtpMode.Passive (default) and FtpMode.Active.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">FtpMode</command:parameterValue>
            <dev:type>
                <maml:name>FtpMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.FtpMode)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>FtpSecure</maml:name>
            <maml:description>
                <maml:para>FTPS mode. Possible values are FtpSecure.None (default), FtpSecure.Implicit and FtpSecure.Explicit (FtpSecure.ExplicitTls in older versions).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">FtpSecure</command:parameterValue>
            <dev:type>
                <maml:name>FtpSecure</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.FtpSecure)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GiveUpSecurityAndAcceptAnySshHostKey</maml:name>
            <maml:description>
                <maml:para>Give up security and accept any SSH host key. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use SshHostKeyFingerprint.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GiveUpSecureityAndAcceptAnyTlsHostCertificate</maml:name>
            <maml:description>
                <maml:para>Give up security and accept any FTPS/WebDAVS server TLS/SSL certificate. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use TlsHostCertificateFingerprint.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>HostName</maml:name>
            <maml:description>
                <maml:para>Name of the host to connect to. Mandatory property.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
            <maml:name>PortNumber</maml:name>
            <maml:description>
                <maml:para>Port number to connect to. Keep default 0 to use the default port for the protocol.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>0</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
            <maml:name>Protocol</maml:name>
            <maml:description>
                <maml:para>Protocol to use for the session. Possible values are Protocol.Sftp (default), Protocol.Scp, Protocol.Ftp and Protocol.Webdav.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Protocol</command:parameterValue>
            <dev:type>
                <maml:name>Protocol</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>Sftp</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="6">
            <maml:name>SshHostKeyFingerprint</maml:name>
            <maml:description>
                <maml:para>Fingerprint of SSH server host key (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically accept host key with the fingerprint. Mandatory for SFTP/SCP protocol.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7">
            <maml:name>SshPrivateKeyPath</maml:name>
            <maml:description>
                <maml:para>Full path to private key file.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="8">
            <maml:name>SshPrivateKeySecurePassphrase</maml:name>
            <maml:description>
                <maml:para>Passphrase for encrypted private keys.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            <dev:type>
                <maml:name>SecureString</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="9">
            <maml:name>TlsHostCertificateFingerprint</maml:name>
            <maml:description>
                <maml:para>Fingerprint of FTPS/WebDAVS server TLS/SSL certificate to be automatically accepted (useful for certificates signed by untrusted authority).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="10">
            <maml:name>Timeout</maml:name>
            <maml:description>
                <maml:para>Server response timeout. Defaults to 15 seconds.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            <dev:type>
                <maml:name>TimeSpan</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>15 Seconds</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WebdavSecure</maml:name>
            <maml:description>
                <maml:para>Use WebDAVS (WebDAV over TLS/SSL), instead of WebDAV.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="11">
            <maml:name>WebdavRoot</maml:name>
            <maml:description>
                <maml:para>WebDAV root path.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="12">
            <maml:name>RawSetting</maml:name>
            <maml:description>
                <maml:para>A Hashtable of Settings and Values to add to the WinSCP.SessionOptions Object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
            <dev:type>
                <maml:name>Hashtable</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="13">
            <maml:name>DebugLogPath</maml:name>
            <maml:description>
                <maml:para>Path to store assembly debug log to. Default null means, no debug log file is created. See also SessionLogPath. The property has to be set before calling Open.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="14">
            <maml:name>SessionLogPath</maml:name>
            <maml:description>
                <maml:para>Path to store session log file to. Default null means, no session log file is created.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="15">
            <maml:name>ReconnectTime</maml:name>
            <maml:description>
                <maml:para>Sets time limit in seconds to try reconnecting broken sessions. Default is 120 seconds. Use TimeSpan.MaxValue to remove any limit.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            <dev:type>
                <maml:name>TimeSpan</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>120 Seconds</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="16">
            <maml:name>FileTransferProgress</maml:name>
            <maml:description>
                <maml:para>Adds the ability to run a script block for each file transfer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
            <dev:type>
                <maml:name>ScriptBlock</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>System.Management.Automation.PSCredential</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.management.automation.pscredential(v=vs.85).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents a set of security credentials, such as a user name and a password.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>This function is used to open a WinSCP Session to be used with most other cmdlets in the WinSCP PowerShell Module.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -HostName $env:COMPUTERNAME -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -Protocol Ftp

ExecutablePath :
AdditionalExecutableArguments :
DefaultConfiguration : True
DisableVersionCheck : False
IniFilePath :
ReconnectTime : 00:02:00
ReconnectTimeInMilliseconds : 120000
DebugLogPath :
DebugLogLevel : 0
SessionLogPath :
XmlLogPath : C:\Users\$env:USERNAME\AppData\Local\Temp\wscp6934.0246B60F.tmp
HomePath : /
Timeout : 00:01:00
Output : {winscp&gt; option batch on, batch on , reconnecttime 120 , winscp&gt; option
                                confirm off...}
Opened : True
UnderlyingSystemType : WinSCP.Session</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Session Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-WinSCPTransferOption</command:name>
        <maml:description>
            <maml:para>Sets options for file transfers.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>WinSCPTransferOption</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Sets available options for file transfers between the client and server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-WinSCPTransferOption</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>FileMask</maml:name>
                <maml:description>
                    <maml:para>http://winscp.net/eng/docs/file_mask</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>FilePermissions</maml:name>
                <maml:description>
                    <maml:para>Permissions to applied to a remote file (used for uploads only).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">FilePermissions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>OverwriteMode</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OverwriteMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>PreserveTimestamp</maml:name>
                <maml:description>
                    <maml:para>Preserve timestamp (set last write time of destination file to that of source file). Defaults to true.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                <maml:name>State</maml:name>
                <maml:description>
                    <maml:para>Sets what files will be transferred with resume support/to temporary filename. Use TransferResumeSupportState.Default for built-in default (currently all files above 100 KB), TransferResumeSupportState.On for all files, TransferResumeSupportState.Off for no file (turn off) or TransferResumeSupportState.Smart for all files above threshold (see Threshold).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TransferResumeSupportState</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
                <maml:name>Threshold</maml:name>
                <maml:description>
                    <maml:para>Threshold (in KB) for State.Smart mode.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6">
                <maml:name>SpeedLimit</maml:name>
                <maml:description>
                    <maml:para>Limit transfer speed (in KB/s).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7">
                <maml:name>TransferMode</maml:name>
                <maml:description>
                    <maml:para>Possible values are TransferMode.Binary (default), TransferMode.Ascii and TransferMode.Automatic (based on file extension).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TransferMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>FileMask</maml:name>
            <maml:description>
                <maml:para>http://winscp.net/eng/docs/file_mask</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>FilePermissions</maml:name>
            <maml:description>
                <maml:para>Permissions to applied to a remote file (used for uploads only).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">FilePermissions</command:parameterValue>
            <dev:type>
                <maml:name>FilePermissions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>OverwriteMode</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">OverwriteMode</command:parameterValue>
            <dev:type>
                <maml:name>OverwriteMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>PreserveTimestamp</maml:name>
            <maml:description>
                <maml:para>Preserve timestamp (set last write time of destination file to that of source file). Defaults to true.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            <dev:type>
                <maml:name>Boolean</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
            <maml:name>State</maml:name>
            <maml:description>
                <maml:para>Sets what files will be transferred with resume support/to temporary filename. Use TransferResumeSupportState.Default for built-in default (currently all files above 100 KB), TransferResumeSupportState.On for all files, TransferResumeSupportState.Off for no file (turn off) or TransferResumeSupportState.Smart for all files above threshold (see Threshold).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TransferResumeSupportState</command:parameterValue>
            <dev:type>
                <maml:name>TransferResumeSupportState</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.TransferResumeSupportState)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
            <maml:name>Threshold</maml:name>
            <maml:description>
                <maml:para>Threshold (in KB) for State.Smart mode.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>100</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6">
            <maml:name>SpeedLimit</maml:name>
            <maml:description>
                <maml:para>Limit transfer speed (in KB/s).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>0</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7">
            <maml:name>TransferMode</maml:name>
            <maml:description>
                <maml:para>Possible values are TransferMode.Binary (default), TransferMode.Ascii and TransferMode.Automatic (based on file extension).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TransferMode</command:parameterValue>
            <dev:type>
                <maml:name>TransferMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.TransferMode)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>None</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.TransferOptions</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_transferoptions</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Defines options for file transfers.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>New-WinSCPTransferOption is equivalent to New-Object -TypeName WinSCP.TransferOptions.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPTransferOption -PreserveTimeStamp:$false -TransferMode Binary

PreserveTimestamp : False
FilePermissions :
TransferMode : Binary
FileMask :
ResumeSupport : default
SpeedLimit : 0</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPTransferOption -FilePermissions (New-WinSCPItemPermission -GroupExecute -OtherRead)

PreserveTimestamp : True
FilePermissions : -----xr--
TransferMode : Binary
FileMask :
ResumeSupport : default
SpeedLimit : 0</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>TransferOption Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_transferoptions</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Receive-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Receives file(s) from an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Receive</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>After creating a valid WinSCP Session, this function can be used to receive file(s) and remove the remote files if desired.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Receive-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote directory followed by slash and wildcard to select files or subdirectories to download. When wildcard is omitted (path ends with slash), all files and subdirectories in the remote directory are downloaded.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Destination</maml:name>
                <maml:description>
                    <maml:para>Full path to download the file to. When downloading multiple files, the filename in the path should be replaced with operation mask or omitted (path ends with slash).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Remove</maml:name>
                <maml:description>
                    <maml:para>When present, deletes source file(s) after transfer.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>TransferOptions</maml:name>
                <maml:description>
                    <maml:para>Defines options for file transfers.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote directory followed by slash and wildcard to select files or subdirectories to download. When wildcard is omitted (path ends with slash), all files and subdirectories in the remote directory are downloaded.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Destination</maml:name>
            <maml:description>
                <maml:para>Full path to download the file to. When downloading multiple files, the filename in the path should be replaced with operation mask or omitted (path ends with slash).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>$pwd</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Remove</maml:name>
            <maml:description>
                <maml:para>When present, deletes source file(s) after transfer.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>TransferOptions</maml:name>
            <maml:description>
                <maml:para>Defines options for file transfers.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            <dev:type>
                <maml:name>TransferOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.TransferOperationResult</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_transferoperationresult</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents results of transfer operation.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Receive-WinSCPItem -Path &apos;/rDir/rFile.txt&apos; -Destination &apos;C:\lDir\lFile.txt&apos;

Transfers Failures IsSuccess
--------- -------- ---------
{/rDir/rFile.txt} {} True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Receive-WinSCPItem -WinSCPSession $session -Path &apos;/rDir/rFile.txt&apos; -Destination &apos;C:\lDir\lFile.txt&apos; -Remove

Transfers Failures IsSuccess
--------- -------- ---------
{/rDir/rFile.txt} {} True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>GetFiles Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_getfiles</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>TransferOptions Class</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_transferoptions</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Removes and item from an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Removes and item, File or Directory from a remote sources. This action will recurse if a the $Path value is a directory.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote directory followed by slash and wildcard to select files or subdirectories to remove.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote directory followed by slash and wildcard to select files or subdirectories to remove.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Remove-WinSCPItem -Path &quot;/rDir/rFile.txt&quot;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Remove-WinSCPItem -WinSCPSession $session -Path &quot;/rDir/rFile.txt&quot;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>RemoveFiles Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_removefiles</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-WinSCPSession</command:name>
        <maml:description>
            <maml:para>Closes and disposes an active WinSCP Session Object.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>WinSCPSession</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>After a WinSCP Session is no longer needed this function will dispose the COM object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-WinSCPSession</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>None.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Hostname &apos;myftphost.org&apos; -UserName &apos;ftpuser&apos; -Password &apos;FtpUserPword&apos; -Protocol Ftp | Remove-WinSCPSession</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $session = New-WinSCPSession -Hostname &apos;myftphost.org&apos; -Username &apos;ftpuser&apos; -Password &apos;FtpUserPword&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Remove-WinSCPSession -WinSCPSession $session</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Close Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_close</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Rename-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Renames a remote item</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Rename</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Renames a remote file or directory. Be sure to include the file extension when renameing a file.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Rename-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote item to be renamed.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>NewName</maml:name>
                <maml:description>
                    <maml:para>The new name for the the item.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Will return a WinSCP.RemoteFileInfo object representation of the renamed object if used.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote item to be renamed.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>NewName</maml:name>
            <maml:description>
                <maml:para>The new name for the the item.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>PassThru</maml:name>
            <maml:description>
                <maml:para>Will return a WinSCP.RemoteFileInfo object representation of the renamed object if used.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:returnValue>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Rename-WinSCPItem -Path &apos;/rDir/rFile.txt&apos; -NewName &apos;rNewFile.txt&apos;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Rename-WinSCPItem -WinSCPSession $session -Path &apos;/rDir/rFile.txt&apos; -Destination &apos;rNewFile.txt&apos; -PassThru

   Directory: /rDir

FileType LastWriteTime Length Name
-------- ------------- ------ ----
D 1/1/2015 12:00:00 AM 0 /rNewFile.txt</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Move Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_movefile</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Send-WinSCPItem</command:name>
        <maml:description>
            <maml:para>Send file(s) to an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Send</command:verb>
        <command:noun>WinSCPItem</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>After creating a valid WinSCP Session, this function can be used to send file(s).</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Send-WinSCPItem</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to local file or directory to upload. Filename in the path can be replaced with Windows wildcard to select multiple files. When file name is omitted (path ends with backslash), all files and subdirectories in the local directory are uploaded.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Destination</maml:name>
                <maml:description>
                    <maml:para>Full path to upload the file to. When uploading multiple files, the filename in the path should be replaced with ConvertTo-WinSCPEscapedString or omitted (path ends with slash).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Remove</maml:name>
                <maml:description>
                    <maml:para>When present, deletes source file(s) after transfer.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>TransferOptions</maml:name>
                <maml:description>
                    <maml:para>Transfer options. Defaults to null, what is equivalent to New-TransferOptions.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to local file or directory to upload. Filename in the path can be replaced with Windows wildcard to select multiple files. When file name is omitted (path ends with backslash), all files and subdirectories in the local directory are uploaded.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Destination</maml:name>
            <maml:description>
                <maml:para>Full path to upload the file to. When uploading multiple files, the filename in the path should be replaced with ConvertTo-WinSCPEscapedString or omitted (path ends with slash).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Remove</maml:name>
            <maml:description>
                <maml:para>When present, deletes source file(s) after transfer.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>TransferOptions</maml:name>
            <maml:description>
                <maml:para>Transfer options. Defaults to null, what is equivalent to New-TransferOptions.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            <dev:type>
                <maml:name>TransferOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.TransferOptions)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.TransferOperationResult</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_transferoperationresult</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents results of transfer operation.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Send-WinSCPItem -Path &apos;C:\lDir\lFile.txt&apos; -Destination &apos;/rDir/rFile.txt&apos;

Transfers Failures IsSuccess
--------- -------- ---------
{C:\lDir\lFile.txt} {} True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Send-WinSCPItem -WinSCPSession $session -Path &apos;C:\lDir\lFile.txt&apos; -Destination &apos;/rDir/rFile.txt&apos; -Remove

Transfers Failures IsSuccess
--------- -------- ---------
{C:\lDir\lFile.txt} {} True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>PutFiles Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_putfiles</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Start-WinSCPConsole</command:name>
        <maml:description>
            <maml:para>Opens a new instance of the WinSCP CLI.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Start</command:verb>
        <command:noun>WinSCPConsole</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Opens a new instance of the WinSCP Command Line Interface where raw commands can be executed.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Start-WinSCPConsole</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Void</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.void(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a return value type for a method that does not return a value.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; Start-WinSCPConsole</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Sync-WinSCPPath</command:name>
        <maml:description>
            <maml:para>Synchronizes directories with an active WinSCP Session.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Sync</command:verb>
        <command:noun>WinSCPPath</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Synchronizes a local directory with a remote directory, or vise versa.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Sync-WinSCPPath</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Mode</maml:name>
                <maml:description>
                    <maml:para>Synchronization mode. Possible values are Local, Remote and Both.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SynchronizationMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>LocalPath</maml:name>
                <maml:description>
                    <maml:para>Full path to local directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>RemotePath</maml:name>
                <maml:description>
                    <maml:para>Full path to remote directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Remove</maml:name>
                <maml:description>
                    <maml:para>When used, deletes obsolete files. Cannot be used with -Mode Both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Mirror</maml:name>
                <maml:description>
                    <maml:para>When used, synchronizes in mirror mode (synchronizes also older files). Cannot be used for -Mode Both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                <maml:name>Criteria</maml:name>
                <maml:description>
                    <maml:para>Comparison criteria. Possible values are None, Time (default), .Size and Either. For -Mode Both Time can be used only.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SynchronizationCriteria</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
                <maml:name>TransferOptions</maml:name>
                <maml:description>
                    <maml:para>Transfer options. Defaults to null, what is equivalent to New-WinSCPTransferOptions.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Mode</maml:name>
            <maml:description>
                <maml:para>Synchronization mode. Possible values are Local, Remote and Both.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SynchronizationMode</command:parameterValue>
            <dev:type>
                <maml:name>SynchronizationMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.SyncronizationMode)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>LocalPath</maml:name>
            <maml:description>
                <maml:para>Full path to local directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>$pwd</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>RemotePath</maml:name>
            <maml:description>
                <maml:para>Full path to remote directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>/</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Remove</maml:name>
            <maml:description>
                <maml:para>When used, deletes obsolete files. Cannot be used with -Mode Both.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Mirror</maml:name>
            <maml:description>
                <maml:para>When used, synchronizes in mirror mode (synchronizes also older files). Cannot be used for -Mode Both.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
            <maml:name>Criteria</maml:name>
            <maml:description>
                <maml:para>Comparison criteria. Possible values are None, Time (default), .Size and Either. For -Mode Both Time can be used only.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SynchronizationCriteria</command:parameterValue>
            <dev:type>
                <maml:name>SynchronizationCriteria</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.SynchronizationCriteria)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5">
            <maml:name>TransferOptions</maml:name>
            <maml:description>
                <maml:para>Transfer options. Defaults to null, what is equivalent to New-WinSCPTransferOptions.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TransferOptions</command:parameterValue>
            <dev:type>
                <maml:name>TransferOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>(New-Object -TypeName WinSCP.TransferOptions)</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>WinSCP.SynchronizationResult</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_synchronizationresult</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents results of synchronization.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Sync-WinSCPDirectory -RemotePath &apos;/&apos; -LocalPath &apos;C:\lDir\&apos; -Mode Local

Uploads : {}
Downloads : {/rDir/rSubDir/rFile.txt}
Removals : {}
Failures : {}
IsSuccess : True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Sync-WinSCPDirectory -WinSCPSession $session -RemotePath &apos;/&apos; -LocalPath &apos;C:\lDir\&apos; -SyncMode Local

Uploads : {}
Downloads : {/rDir/rSubDir/rFile.txt}
Removals : {}
Failures : {}
IsSuccess : True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SynchronizeDirectories Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_synchronizedirectories</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Test-WinSCPPath</command:name>
        <maml:description>
            <maml:para>Test if a remote item exists.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Test</command:verb>
        <command:noun>WinSCPPath</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>After creating a valid WinSCP Session, this function can be used to test if a directory or file exists on the remote source.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Test-WinSCPPath</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>WinSCPSession</maml:name>
                <maml:description>
                    <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Full path to remote file.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>WinSCPSession</maml:name>
            <maml:description>
                <maml:para>A valid open WinSCP.Session, returned from New-WinSCPSession.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Session</command:parameterValue>
            <dev:type>
                <maml:name>Session</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Full path to remote file.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>WinSCP.Session</maml:name>
                <maml:uri>http://winscp.net/eng/docs/library_session</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>It represents a session and provides methods for manipulating remote files over SFTP, SCP or FTP session.</maml:para>
            </maml:description>
        </command:inputType>
        <command:inputType>
            <dev:type>
                <maml:name>System.String</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
Represents text as a series of Unicode characters.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>System.Boolean</maml:name>
                <maml:uri>https://msdn.microsoft.com/en-us/library/system.boolean(v=vs.110).aspx</maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Represents a Boolean (true or false) value.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; New-WinSCPSession -Credential (New-Object -TypeName System.Managemnet.Automation.PSCredential -ArgumentList $env:USERNAME, (New-Object -TypeName System.Security.SecureString)) -HostName $env:COMPUTERNAME -Protocol Ftp | Test-WinSCPPath -Path &apos;/rDir/rSubDir&apos;

True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $credential = Get-Credential
PS C:\&gt; $session = New-WinSCPSession -Credential $credential -Hostname &apos;myftphost.org&apos; -SshHostKeyFingerprint &apos;ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx&apos;
PS C:\&gt; Test-WinSCPPath -WinSCPSession $session -Path &apos;/rDir/rSubDir&apos;

True</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>FileExists Method</maml:linkText>
            <maml:uri>http://winscp.net/eng/docs/library_session_fileexists</maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Project Home Page</maml:linkText>
            <maml:uri>http://dotps1.github.io/WinSCP</maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
</helpItems>