[IO.File]::WriteAllLines($filename, $content)
(from https://stackoverflow.com/questions/5596982/using-powershell...)
Powershell is like a poor Java/C# interpreter instead of a quick and dirty shell.
Powershell is like a poor Java/C# interpreter instead of a quick and dirty shell.