Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » New-ItemProperty

New-ItemProperty - Powershell 2.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 »

New-ItemProperty

Short description
Creates a new property for an item and sets its value. For example, you can use New-ItemProperty to create and chan
ge registry values and data, which are properties of a registry key.

Syntax


Description
The New-ItemProperty cmdlet creates a new property for a specified item and sets its value. Typically, this cmdlet 
is used to create new registry values, because registry values are properties of a registry key item.

This cmdlet does not add properties to an object. To add a property to an instance of an object, use the Add-Member
 cmdlet. To add a property to all objects of a particular type, edit the Types.ps1xml file.