PowerShell Write File to User Home Directory
New-Item -Path $home -Name $filename -ItemType "file" -Value $data
Av3
New-Item -Path $home -Name $filename -ItemType "file" -Value $data