|
Re: Why does get-content on a text file remove crlf when cast to a string? >>
>> gci -i Assemblyinfo.cs -r | %{$contents=gc
>> $_.FullName;doWork([system.string]::join("`r`n", $contents)) }
>>
or you can use .Net
[System.IO.File]::ReadAllText(Assemblyinfo.cs) |