DEV Community

Discussion on: PowerShell Tutorial (Especially for People Who Hate PowerShell)

Collapse
 
kennethrow profile image
Ken Row

Beware that Powershell's new-item will clobber a pre-existing file, whereas Bash's touch will just update its modification time. If you want a PowerShell touch to really behave like Bash, it'll require a function, not an alias.