/
$cs.Reg_GetString
$cs.Reg_GetString
Syntax
$cs.Reg_GetString(string registryroot, string regkey, string regvalue)
Parameters
registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regkey
Registry keypath
regvalue
Registry value to retrieve (empty string for default value)
Example
$filepath=$cs.Reg_GetString("HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe","")
returns value as string
Related content
$cs.Reg_GetExpandString
$cs.Reg_GetExpandString
More like this
PowerShell Scripting Library
PowerShell Scripting Library
Read with this
$cs.Reg_GetString
$cs.Reg_GetString
More like this
$cs.Shell_Execute
$cs.Shell_Execute
Read with this
$cs.Reg_GetInteger
$cs.Reg_GetInteger
More like this
$cs.Job_WriteLog
$cs.Job_WriteLog
Read with this