Summary:
Found this trying to figure out if there were any new lines in text file
Reference:
Unknown
Code (Original):
$enc = New-Object System.Text.ASCIIEncoding
$string.ToCharArray() | Foreach-Object { Write-Host "$($_) $($enc.GetBytes($_))" }
Code (Modified):
$enc = New-Object System.Text.ASCIIEncoding
(Get-Content .\Email.txt).ToCharArray() | Foreach-Object { Write-Host "$($_) $($enc.GetBytes($_))" }
No comments:
Post a Comment