Forum Discussion

RevathyV's avatar
RevathyV
New Contributor
3 years ago

Powershell Get-ItemProperty

PowerShell Script and Get the Result as Text:

Example

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object {$_.DisplayName -match "McAfee"}, to search "McAfee" i need to use double quotes but testcomplete doesnot allow to do it

 

  • You can use e.g. ""McAfee"" or \"McAfee\" depending on how your string is being called.

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    You can use e.g. ""McAfee"" or \"McAfee\" depending on how your string is being called.