Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Remove-ItemProperty

Remove-ItemProperty - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Remove-ItemProperty

Description
Delete the property and its value from an item

Usage


Options


Example(s)
Delete the 'Demo' registry value, and its data, from HKEY_LOCAL_MACHINE\Software\SS64

PS C:\>remove-itemproperty -path HKLM:\Software\SS64 -name Demo

Again delete the 'Demo' registry value, but this time by changing location, and using a dot (.) to indicate the current location:

PS C:\>set-location HKLM:\Software\SS64
PS HKLM:\Software\SS64>remove-itemproperty -path . -Name Demo