make new file and write in it powershell code example
Example 1: powershell write to file
Add-Content FilePath TextAdded
Example 2: how to make file in powershell
echo $null >> filename.type
Add-Content FilePath TextAdded
echo $null >> filename.type