Multiple choice technology

Which CmdLet is used to create a new item in the file system or registry?

  1. New-Item

  2. Create-Item

  3. Move-Item

  4. Invoke-Item

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

New-Item is the PowerShell cmdlet specifically designed to create new items in various providers including the file system and registry. Create-Item is not a valid PowerShell cmdlet. Move-Item is used for moving or renaming items, while Invoke-Item performs the default action on an item (like opening a file).