Table of contents
TOC
折叠目录
展开目录

Format-Hex

OpenLocalizationService|上次更新日期: 2017/1/9
|
1 参与者

Format-Hex 使你可以以十六进制格式查看文本或二进制数据;请参阅 Format-Hex

示例 1

以十六进制格式查看字符串内容。

"This is a very long line to force the line folding in Format-Hex cmdlet" | Format-Hex

输出

PS C:\> This is a very long line to force the line folding in Format-Hex cmdlet" | Format-Hex


           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000   54 68 69 73 20 69 73 20 61 20 76 65 72 79 20 6C  This is a very l
00000010   6F 6E 67 20 6C 69 6E 65 20 74 6F 20 66 6F 72 63  ong line to forc
00000020   65 20 74 68 65 20 6C 69 6E 65 20 66 6F 6C 64 69  e the line foldi
00000030   6E 67 20 69 6E 20 46 6F 72 6D 61 74 2D 48 65 78  ng in Format-Hex
00000040   20 63 6D 64 6C 65 74                              cmdlet         


PS C:\>
© 2017 Microsoft