I'm trying to remove junk registry items left from adware in several machines. The adware created registry keys in the following path: 

HKEY\_LOCAL\_MACHINE\SYSTEM\ControlSet001\Services\

Property: a random name that is different from machine to machine

Value: a malicious string that is the same from machine to machine

```
Get-ChildItem -path HKLM:\System\Controlset001\Services | 
  Get-ItemProperty |
    Where-Object {$_.ValueName -eq "Value"} |
      Remove-ItemProperty -ErrorAction SilentlyContinue

```

I´ve tried the method above to delete keys when I know the subkey and properties, but since the property is random I am getting no results. Thank you very much!