Create Files in PowerShell: New-Item Explained Creating files from the command line is faster than using Notepad. Learn the quick way. How It Works New-Item creates files when you specify -ItemType File. You can create empty files, or use Out-File to put content inside. This is faster than opening Notepad, typing, and saving. Code Examples Create Empty File # Create empty file New-Item -I