Is there an equivalent of
touch in PowerShell?
For instance, in Linux I can create a new empty file by invoking:
On Windows this is pretty awkward -- usually I just open a new instance of Notepad and save an empty file.
So is there a programmatic way in PowerShell to do this?
I am not looking to exactly match behaviour of touch, but just to find the simplest possible equivalent for creating empty files.