(view source code of 2ascii.ps as plain text)
# Convert any text file to ASCII
param( [string] $infile = $(throw "Please specify a filename.") )
$outfile = "$infile.ascii"
get-content -path $infile | out-file $outfile -encoding ascii
page last modified: 2024-04-16; loaded in 0.0075 seconds