如何使用powershell命令获取MHTML文件信息 [英] how to get MHTML file information using powershell command
本文介绍了如何使用powershell命令获取MHTML文件信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个mhtml文件作为test.mht
test.mht中存在的数据如下
Hi,
I have a mhtml file as test.mht
data present in test.mht is as below
Field String
Name Carpool
Type ModernApplication
Language en-us English
Category Tools
IsTrial false
GUID 712ec8b1-0370-4ed5-b1ac-f0eca1f64348
Markets
MarketName
United States
Strings
Field String
问题:
如何使用powershell命令检索GUID信息
例如:
question:
how to retrieve the GUID information using powershell command
ex:
$GetGUID = [load mhtm file]
write-host $GetGUID.GUID
应该将GUID打印为:712ec8b1-0370-4ed5-b1ac-f0eca1f64348
should print GUID as : 712ec8b1-0370-4ed5-b1ac-f0eca1f64348
推荐答案
GetGUID = [加载mhtm文件] 写主机
GetGUID = [load mhtm file] write-host
GetGUID.GUID
GetGUID.GUID
应该将GUID打印为:712ec8b1-0370-4ed5-b1ac-f0eca1f64348
should print GUID as : 712ec8b1-0370-4ed5-b1ac-f0eca1f64348
这篇关于如何使用powershell命令获取MHTML文件信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文