PowerShell: Create New File
Create New File
# create a empty new file xyz.txt in current dir New-Item xyz.txt
# create a file xyz.txt with content abc New-Item xyz.txt -value "abc"
new-item
has aliasni
# create a empty new file xyz.txt in current dir New-Item xyz.txt
# create a file xyz.txt with content abc New-Item xyz.txt -value "abc"
new-item
has alias ni