how to create file using powershell code example
Example 1: how to make file in powershell
echo $null >> filename.type
Example 2: powershell create file content
Set-Content D:\temp\test\test.txt 'Welcome to TutorialsPoint'
Example 3: powershell new item
New-Item "C:\file.txt" -ItemType File -Force