PowerShell Schreibdatei an User Home Directory

 New-Item -Path $home -Name $filename -ItemType "file" -Value $data
Av3