In PowerShell, how do I do the equivalent of:
mkdir -p $(dirname "$newfile") && touch "$newfile"
I expect that