简体   繁体   English

使用PowerShell确定Bitlocker版本

[英]Determine Bitlocker version with PowerShell

I am trying to determine if BitLocker is updated. 我试图确定BitLocker是否已更新。 All I can find on BitLocker is if the service is running as in: 我可以在BitLocker上找到的只是该服务是否按以下方式运行:

Get-Service -name "BDESVC*"

Usually the gwmi -class Win32_SoftwareFeature will return all applications versions but BitLocker isn't there. 通常, gwmi -class Win32_SoftwareFeature将返回所有应用程序版本,但BitLocker不存在。 Does BitLocker need updating? BitLocker是否需要更新? Is it stored somewhere else? 它存储在其他地方吗?

I am using Win7 64bit PowerShell v2 我正在使用Win7 64位PowerShell v2

After some lengthy searching, I found manage-bde . 经过长时间的搜索,我找到了manage-bde This command works great with the command line and PowerShell. 此命令与命令行和PowerShell一起使用效果很好。 I still am having an issue with pulling just the version number though. 我仍然对仅提取版本号有疑问。

Yes, this is the only option available for checking the version as the application isn't standalone. 是的,这是检查版本的唯一选项,因为该应用程序不是独立的。 On Max OS X, it is the same. 在Max OS X上,相同。 The version isn't made obvious or available. 版本不明显或不可用。

In case this helps some one now, you can use the following command to extract the required information for your purpose. 如果这现在对某些人有所帮助,则可以使用以下命令来提取所需的信息。

Command 命令

manage-bde -status C: | FINDSTR "\<version"

Result 结果

BitLocker Drive Encryption: Configuration Tool version 10.0.15063

Please don't forget the '\\<' because this is used to filter out the version, else other data containing the word 'conversion' also gets populated. 请不要忘记'\\ <',因为它用于过滤版本,否则还会填充其他包含单词'conversion'的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM