windows powershell create file with content code example
Example 1: powershell make file
New-Item <filename.filetype>
Example 2: powershell create file content
Set-Content D:\temp\test\test.txt 'Welcome to TutorialsPoint'
New-Item <filename.filetype>
Set-Content D:\temp\test\test.txt 'Welcome to TutorialsPoint'