📄 osrecover.vbs
字号:
'osrecover.vbs
Dim objServices
Dim objWMIObject, objWMIObjects
'create an instance of a Services object for the local machine
Set objServices = _
GetObject("winmgmts:{impersonationLevel=impersonate}!root\cimv2")
'create an instance of the Win32_OSRecoveryOption class
Set objWMIObjects = objServices.InstancesOf _
("Win32_OSRecoveryConfiguration")
'loop through each object (there will be only one)
For Each objWMIObject In objWMIObjects
'set the DebugFilePath property
objWMIObject.DebugFilePath = "d:\MEMORY.DMP"
'update the settings
Call objWMIObject.Put_
Next
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -