Загрузка данных
PS C:\windows\system32> $Out="$env:USERPROFILE\Desktop\OMEN_QUICK_ID.txt"; "=== OMEN QUICK ID ===" | Out-File $Out -Encoding UTF8; "Generated: $(Get-Date)" | Out-File $Out -Append -Encoding UTF8; "`n=== COMPUTER SYSTEM ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_ComputerSystem | Select-Object Manufacturer,Model,SystemSKUNumber | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== CSPRODUCT ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_ComputerSystemProduct | Select-Object Name,Vendor,Version,IdentifyingNumber,UUID | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== BIOS ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_BIOS | Select-Object Manufacturer,SMBIOSBIOSVersion,SerialNumber,Version | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== BASEBOARD ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_BaseBoard | Select-Object Manufacturer,Product,Version,SerialNumber | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== WINDOWS ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_OperatingSystem | Select-Object Caption,Version,BuildNumber,OSArchitecture,InstallDate | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== GPU ===" | Out-File $Out -Append -Encoding UTF8; Get-CimInstance Win32_VideoController | Select-Object Name,PNPDeviceID,DriverVersion | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== NETWORK ADAPTERS ===" | Out-File $Out -Append -Encoding UTF8; Get-NetAdapter | Select-Object Name,InterfaceDescription,Status,LinkSpeed,MacAddress | Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== DISKS ===" | Out-File $Out -Append -Encoding UTF8; Get-Disk | Select-Object Number,FriendlyName,SerialNumber,PartitionStyle,@{Name='SizeGB';Expression={[math]::Round($_.Size/1GB,2)}} | Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== PARTITIONS ===" | Out-File $Out -Append -Encoding UTF8; Get-Partition | Select-Object DiskNumber,PartitionNumber,DriveLetter,Type,GptType,@{Name='SizeGB';Expression={[math]::Round($_.Size/1GB,2)}} | Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== HP SOFTWARE ===" | Out-File $Out -Append -Encoding UTF8; Get-ItemProperty 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*','HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue | Where-Object { $_.DisplayName -match 'HP|OMEN|NVIDIA|Intel|Realtek|MediaTek|McAfee' } | Select-Object DisplayName,DisplayVersion,Publisher | Sort-Object DisplayName | Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== DONE ===" | Out-File $Out -Append -Encoding UTF8; "Saved to: $Out"; notepad $Out
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 78
+ ... .txt"; "=== OMEN QUICK ID ===" | Out-File $Out -Encoding UTF8; "Gener ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 135
+ ... enerated: $(Get-Date)" | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 203
+ ... = COMPUTER SYSTEM ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 345
+ ... KUNumber | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 407
+ ... "`n=== CSPRODUCT ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 564
+ ... ber,UUID | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 621
+ ... UTF8; "`n=== BIOS ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 770
+ ... ,Version | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 832
+ ... "`n=== BASEBOARD ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 976
+ ... alNumber | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1036
+ ... 8; "`n=== WINDOWS ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1199
+ ... tallDate | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1255
+ ... UTF8; "`n=== GPU ===" | Out-File $Out -Append -Encoding UTF8; Get-Ci ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1394
+ ... rVersion | Format-List | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1463
+ ... NETWORK ADAPTERS ===" | Out-File $Out -Append -Encoding UTF8; Get-Ne ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1613
+ ... Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1671
+ ... TF8; "`n=== DISKS ===" | Out-File $Out -Append -Encoding UTF8; Get-Di ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1868
+ ... Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 1931
+ ... "`n=== PARTITIONS ===" | Out-File $Out -Append -Encoding UTF8; Get-Pa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 2137
+ ... Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 2201
+ ... `n=== HP SOFTWARE ===" | Out-File $Out -Append -Encoding UTF8; Get-It ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 2678
+ ... Format-Table -AutoSize | Out-File $Out -Append -Encoding UTF8; "`n=== ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Out-File : 未能找到路径“C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt”的一部分。
所在位置 行:1 字符: 2735
+ ... UTF8; "`n=== DONE ===" | Out-File $Out -Append -Encoding UTF8; "Saved ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Saved to: C:\Users\Subze\Desktop\OMEN_QUICK_ID.txt
PS C:\windows\system32>