touch functionality untuk windows powershell

untuk membuat touch functionality seperti di linux dimana touch command ini berfungsi untuk membuat file kosong baru biasanya aku pakenya kaya gini

touch nama-file.ext
touch.cmd
@echo off
    setlocal enableextensions disabledelayedexpansion
 
    (for %%a in (%*) do if exist "%%~a" (
        pushd "%%~dpa" && ( copy /b "%%~nxa"+,, & popd )
    ) else (
        type nul > "%%~fa"
    )) >nul 2>&1
 

simpan file touch.cmd di tempat manapun dan folder yang berisi file touch.cmd di tambahkan ke path env di windows

ADIOSSSS