Delete Registry value if it exist

This script checks for a value "test" if it exist in HKEY_LOCAL_MACHINE\Software\Testkey. If the value is found, it deletes the Value named "test". If it does not exist it display "The value does not exist" on screen. The code is given below$regkeypath= "hklm:\Software\Testkey"$v

 
 
 
 
 
(4)
Add to favorites
1/9/2013
E-mail Twitter del.icio.us Digg Facebook