Making Folders and Files: New-Item

New-Item makes new folders and files where you say, several at once or a whole path of folders in one go, -Value puts text into a new file, and -Force means "it's fine if it's already there" for a folder but "replace it" for a file.

Updated

Cheat sheet for the lesson Making Folders and Files: New-Item: New-Item makes new folders and files where you say, several at once or a whole path of folders in one go, -Value puts text into a new file, and -Force means "it's fine if it's already there" for a folder but "replace it" for a file.
Category
PowerShell
Level
Novice
Tags
File Extension, new-item, operating-system, powershell, whatif-and-confirm