Environment
| IP | HOSTNAME | NOTE |
|---|---|---|
| 10.10.10.88 | win10_dqy | Test host |
Reproduction Process
The PowerShell Script Is as Follows:
$bios_info = Get-WmiObject -Class Win32_BIOS;
$file_path = "$pwd\test_poc.html";
New-Item $file_path -ItemType File;
$output = "<html>$bios_info</html>";
Set-Content $file_path $output;
Execution Result
- Collect BIOS information and save it as test_poc.html in the current path.
