Skip to content

Copy-Item add support "report progress" #18637

@John0King

Description

@John0King

Summary of the new feature / enhancement

when copy many files to remote computer , it's slow and nothing is report to user

Proposed technical implementation details (optional)

Copy-Item -Path ./* -Destination "D:/Dir" -ToSession $session -Recurse -Force -ReportProgess

Copy-Item -Path ./* -Destination "D:/Dir" -ToSession $session -Recurse -Force -ReportProgess  -ReportStyle "minimal |  filename | full"
  • minimal (the default) is only show a progress of total transfer
  • filename will only show a progress of current processing file,
  • full will show a total progress bar and a mini progress bar for current file , and leave a log of filename to user when it's done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-FileSystem-Providerspecific to the FileSystem providerIssue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions