已接受的解答
- 将帖子标记为未读
- 将此主题添加到书签
- 订阅此主题
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此贴
- 打印此贴
- 标记帖子
已解决!
暗影精灵9更新BIOS后打游戏锁功耗
发布时间 2023-05-23 09:29:45
********************提供更多机器有关的信息*************************
**************提供信息,不是修复,不是解决方案*******************
********************不提供信息,不勉强******************************
- 系统桌面按Win+R打开运行,输入
powershell
- 按住键盘ctrl+shift,鼠标点确定
命令行打开显示PS C:\Windows\system32>则是成功以管理员运行打开了powershell,否则以上重试
- 在命令行窗口中复制粘贴下面命令回车
if (test-path c:\hpinfo.txt){remove-item c:\hpinfo.txt -force};`
gwmi Win32_OperatingSystem | select caption,version |fl | out-file \hpinfo.txt -force -append;`
(gwmi win32_bios).caption |fl | out-file \hpinfo.txt -force -append;`
(gwmi MS_SystemInformation -namespace root\wmi).SystemSKU |fl | out-file \hpinfo.txt -force -append;`
Confirm-SecureBootUEFI |fl | out-file \hpinfo.txt -force -append;`
gwmi win32_VideoController | select caption,DriverVersion |fl | out-file \hpinfo.txt -force -append;`
gwmi Win32_PNPEntity | Where{$_.ConfigManagerErrorCode -ne 0} | select caption,deviceID,ConfigManagerErrorCode |fl | out-file \hpinfo.txt -force -append;`
Gwmi win32_service | ForEach-Object {
$path=""
$company=""
if($_.pathName -match '"(?<SvcPath>.*)"') {$path=$Matches['SvcPath']}
else {$path=($_.pathName -split ' ') | select -First 1}
if(-not [string]::IsNullOrWhiteSpace($path)) {$company=(Get-Item $path -ErrorAction Ignore).VersionInfo.CompanyName}
$_ | Add-Member -MemberType NoteProperty -Name "Manufacturer" -Value $company
$_} | Select-Object DisplayName, Manufacturer,State | where {$_.Manufacturer -notlike "*microsoft*"} | fl | out-file \hpinfo.txt -force -append;`
Get-AppxPackage | where{$_.name -like "*omen*"} | select name,version |fl | out-file \hpinfo.txt -force -append;`
(Get-Item C:\Windows\OMENSDK_Ver.exe).versioninfo | out-file \hpinfo.txt -force -append
- 打开c:\hpinfo.txt将文件内容全选(ctrl+A)复制(ctrl+c)粘贴(ctrl+v)出来发帖回复,之后c:\hpinfo.txt可以删除。
如果红字报错或没有文件,确认是以管理员身份运行了powershell
欢迎来到社区,我是一名志愿者,私人信息不会被回复。
如果我的回复对您有帮助, 请点击按钮。如果我的回复帮助您解决了问题,别忘了点击
,可以帮到其他遇到同样问题的用户。
- 将帖子标记为未读
- 将此主题添加到书签
- 订阅此主题
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此贴
- 打印此贴
- 标记帖子
已解决!
暗影精灵9更新BIOS后打游戏锁功耗
发布时间 2023-05-23 09:29:45
********************提供更多机器有关的信息*************************
**************提供信息,不是修复,不是解决方案*******************
********************不提供信息,不勉强******************************
- 系统桌面按Win+R打开运行,输入
powershell
- 按住键盘ctrl+shift,鼠标点确定
命令行打开显示PS C:\Windows\system32>则是成功以管理员运行打开了powershell,否则以上重试
- 在命令行窗口中复制粘贴下面命令回车
if (test-path c:\hpinfo.txt){remove-item c:\hpinfo.txt -force};`
gwmi Win32_OperatingSystem | select caption,version |fl | out-file \hpinfo.txt -force -append;`
(gwmi win32_bios).caption |fl | out-file \hpinfo.txt -force -append;`
(gwmi MS_SystemInformation -namespace root\wmi).SystemSKU |fl | out-file \hpinfo.txt -force -append;`
Confirm-SecureBootUEFI |fl | out-file \hpinfo.txt -force -append;`
gwmi win32_VideoController | select caption,DriverVersion |fl | out-file \hpinfo.txt -force -append;`
gwmi Win32_PNPEntity | Where{$_.ConfigManagerErrorCode -ne 0} | select caption,deviceID,ConfigManagerErrorCode |fl | out-file \hpinfo.txt -force -append;`
Gwmi win32_service | ForEach-Object {
$path=""
$company=""
if($_.pathName -match '"(?<SvcPath>.*)"') {$path=$Matches['SvcPath']}
else {$path=($_.pathName -split ' ') | select -First 1}
if(-not [string]::IsNullOrWhiteSpace($path)) {$company=(Get-Item $path -ErrorAction Ignore).VersionInfo.CompanyName}
$_ | Add-Member -MemberType NoteProperty -Name "Manufacturer" -Value $company
$_} | Select-Object DisplayName, Manufacturer,State | where {$_.Manufacturer -notlike "*microsoft*"} | fl | out-file \hpinfo.txt -force -append;`
Get-AppxPackage | where{$_.name -like "*omen*"} | select name,version |fl | out-file \hpinfo.txt -force -append;`
(Get-Item C:\Windows\OMENSDK_Ver.exe).versioninfo | out-file \hpinfo.txt -force -append
- 打开c:\hpinfo.txt将文件内容全选(ctrl+A)复制(ctrl+c)粘贴(ctrl+v)出来发帖回复,之后c:\hpinfo.txt可以删除。
如果红字报错或没有文件,确认是以管理员身份运行了powershell
欢迎来到社区,我是一名志愿者,私人信息不会被回复。
如果我的回复对您有帮助, 请点击按钮。如果我的回复帮助您解决了问题,别忘了点击
,可以帮到其他遇到同样问题的用户。