|
2#
楼主 |
发表于 2023-1-20 11:43:24
|
只看该作者
本帖最后由 黑中见白 于 2023-1-20 15:16 编辑
目前逻辑搞不清
主要代码是
ps代码的判断包含
包含=ture
不包含=假
$值1=$line[$x].contains($line[$y-1])
快速抄袭注册表_ps命令.7z
(262.82 KB, 下载次数: 31)
搞定了,但是不知道为什么会多2行
"ProtocolName"="MSAFD L2CAP Bluetooth"
"ProtocolName"="MSAFD RfComm Bluetooth"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NET CLR Data
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NET CLR Networking
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NET Data Provider for Oracle
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NET Data Provider for SqlServer
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NET Memory Cache 4.0
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.NETFramework
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\3ware
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\AarSvc
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ACPI
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\acpiex
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\AcpiPmi
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\acpitime
|
|