Creating new file through Windows Powershell – Stack Overflow

Create a touch command to act as New-File like this: Set-Alias -Name touch -Value New-Item This new alias will allow you to create new files like so: touch filename.txt This would make these 3 commands equivalent: New-Item filename.txt ni filename.txt touch filename.txt

Read More