powershell create file content

C++
Set-Content D:\temp\test\test.txt 'Welcome to TutorialsPoint'

Source

Also in C++: