Skip to content

Instantly share code, notes, and snippets.

View vcudachi's full-sized avatar
🏠
Working from home

Dmitry vcudachi

🏠
Working from home
View GitHub Profile
@vcudachi
vcudachi / Copy-FileCallBack.ps1
Created May 10, 2025 20:56
Copy-FileCallBack cmdlet copies the file and displays copying process progress with Write-Progress cmdlet. Visual part is highly customizable.
# Version: 1.0
# Author: vcudachi
# Creation Date: 2025-05-09
# License: MIT
# Platform: Windows, pwsh 7 is supported
# Description: Copy-FileCallBack cmdlet copies the file and displays copying process progress with Write-Progress cmdlet. Visual part is highly customizable.
# Warning: Destination file will be overwritten without prompt.
#requires -Version 5.1
Function Copy-FileCallBack {