FlattenFolders.xml

<?xml version="1.0"?>
<doc>
    <assembly>
        <name>FlattenFolders</name>
    </assembly>
    <members>
        <member name="T:FlattenFolders.InvokeFlattenFoldersCmdlet">
            <summary>
            <para type="synopsis">Moves files from all sub-directories to the parent directory and optionally delete sub-directories.</para>
            <para type="description">
            Moves files from all sub-directories to the parent directory.If files with duplicate names are found then their file name will have a GUID appended to make them unique.
            </para>
            <para type="description">
            Supports WhatIf. If supplied this will output a formatted table of the from and to file locations that will result from running the cmdlet.
            </para>
            <para type="description">
            Can be run against:
            </para>
            <para type="description">
            > a single directory
            </para>
            <para type="description">
            > a collection of directories piped into the module.
            </para>
            <example>
                <para>All files in all sub-directories in the current location (C:\) will be moved to the current location(C:\):</para>
                <code>PS C:\> Invoke-FlattenFolder</code>
            </example>
            <example>
                <para>Displays an output table to terminal detailing that all files in all sub-directories in C:\Videos\ would be moved to C:\Videos\:</para>
                <code>PS C:\> Invoke-FlattenFolder -Directory "C:\Videos" -WhatIf</code>
            </example>
            <example>
                <para>All files in all sub-directories in C:\Videos\ will be moved to C:\Videos\ and all sub-directories will be deleted once the files have been moved:</para>
                <code>PS C:\> Invoke-FlattenFolder -Directory "C:\Videos" -DeleteSubDirectories</code>
            </example>
            <example>
                <para>All files in all sub-directories in the piped array of directories(C:\Videos\ and C:\Music\) will be moved to their respective parents:</para>
                <code>PS C:\> "C:\Videos\","C:\Music\" | Invoke-FlattenFolder</code>
            </example>
            <para type="link" uri="(https://github.com/trossr32/ps-flatten-folders)">[Github]</para>
            </summary>
        </member>
        <member name="P:FlattenFolders.InvokeFlattenFoldersCmdlet.Directory">
            <summary>
            <para type="description">
            The parent directory where files from all sub-directories will be moved.
            If neither this nor the Directories parameter are set then the current location will be used.
            </para>
            </summary>
        </member>
        <member name="P:FlattenFolders.InvokeFlattenFoldersCmdlet.Directories">
            <summary>
            <para type="description">
            A collection of parent directories where files from all sub-directories will be moved.
            If neither this nor the Directory parameter are set then the current location will be used.
            </para>
            </summary>
        </member>
        <member name="P:FlattenFolders.InvokeFlattenFoldersCmdlet.WhatIf">
            <summary>
            <para type="description">
            If supplied this will output a formatted table of the from and to file locations that will result from running the cmdlet.
            </para>
            </summary>
        </member>
        <member name="P:FlattenFolders.InvokeFlattenFoldersCmdlet.DeleteSubDirectories">
            <summary>
            <para type="description">
            If supplied all subdirectories will be deleted once all files have been moved.
            </para>
            </summary>
        </member>
        <member name="M:FlattenFolders.InvokeFlattenFoldersCmdlet.BeginProcessing">
            <summary>
            Implements the <see cref="M:FlattenFolders.InvokeFlattenFoldersCmdlet.BeginProcessing"/> method for <see cref="T:FlattenFolders.InvokeFlattenFoldersCmdlet"/>.
            Initialise temporary containers
            </summary>
        </member>
        <member name="M:FlattenFolders.InvokeFlattenFoldersCmdlet.ProcessRecord">
            <summary>
            Implements the <see cref="M:FlattenFolders.InvokeFlattenFoldersCmdlet.ProcessRecord"/> method for <see cref="T:FlattenFolders.InvokeFlattenFoldersCmdlet"/>.
            Validates input directory/directories exist and builds a list of directories to process in the EndProcessing method.
            </summary>
        </member>
        <member name="M:FlattenFolders.InvokeFlattenFoldersCmdlet.EndProcessing">
            <summary>
            Implements the <see cref="M:FlattenFolders.InvokeFlattenFoldersCmdlet.EndProcessing"/> method for <see cref="T:FlattenFolders.InvokeFlattenFoldersCmdlet"/>.
            Perform the folder flattening on the configured directories.
            </summary>
        </member>
        <member name="M:FlattenFolders.InvokeFlattenFoldersCmdlet.ProcessWhatIf">
            <summary>
            A WhatIf switch parameter was passed so calculate what will happen and output a table to terminal
            </summary>
        </member>
        <member name="M:FlattenFolders.InvokeFlattenFoldersCmdlet.ValidateMovePermissions">
            <summary>
            Validates whether the user has write permissions to the file sin the supplied directories
            </summary>
            <returns></returns>
        </member>
    </members>
</doc>