powershell how to create files in directoy code example
Example 1: powershell make file
New-Item <filename.filetype>
Example 2: powershell new file
New-Item -Path . -Name "testfile1.txt" -ItemType "file" -Value "This is a text string."
New-Item <filename.filetype>
New-Item -Path . -Name "testfile1.txt" -ItemType "file" -Value "This is a text string."