PS E:\> [int][char]"a"
97
PS E:\> [char[]]"some text" |% {[int]$_}
115
111
109
101
32
116
101
120
116
PS E:\>
Or something else?
"IT Staff" wrote:
> Can powershell list the ascii codes and non-ascii codes ?
>
>
>
> .
>
PS E:\> [int][char]"a"
97
PS E:\> [char[]]"some text" |% {[int]$_}
115
111
109
101
32
116
101
120
116
or something else?
"IT Staff" wrote:
> Can powershell list the ascii codes and non-ascii codes ?
>
>
>
> .
>
"Rob Campbell" <RobCa...@discussions.microsoft.com> wrote in message
news:D11FE85C-F220-4B24...@microsoft.com...
"Rob Campbell" <RobCa...@discussions.microsoft.com> wrote in message
news:5CE175ED-D20B-492E...@microsoft.com...
0..255 |% {write-host "$($_) = $([char]$_)"}
"IT STAFF" wrote:
> .
>
"IT STAFF" wrote:
> .
>