Summary: Create a new file with Windows PowerShell.
How can I use Windows PowerShell to create a new text file that will be empty until I add content?
Use the New-Item cmdlet and specify a path, name, and type, for example:
New-Item c:\fso\AnEmptyFile.txt -ItemType file
0 comments