A PowerShell function that replicates the Linux 'touch' command for creating files and updating timestamps. The function checks if a file exists, updates its timestamp if it does, or creates a new file if it doesn't. It supports piping multiple file paths and can be added to your PowerShell profile for permanent availability.
1 Comment
Sort: