Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » New-Item

New-Item - Powershell 4.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-Item

Short description
Creates a new item.

Syntax


Description
The New-Item cmdlet creates a new item and sets its value. The types of items that can be created depend upon the 
location of the item. For example, in the file system, New-Item is used to create files and folders. In the registry, 
New-Item creates registry keys and entries.


New-Item can also set the value of the items that it creates. For example, when creating a new file, New-Item can add 
initial content to the file.