•Arnošt Havelka
Create Directories in PowerShell
Build directory structures with New-Item.
Start Interactive LessonThe New-Item command can also create directories. Learn to organize your file system with folders.
Creating Directories
Try the command
Create a new folder!
Build the command
mkdir[arguments]
Terminal
PS C:\Users\Student>mkdir projects
Directory Creation
Terminal
documents.txt
PS C:\Users\Student\Documents\MkdirDemo>ls
Knowledge Check
1 / 1How do you create a directory named 'data'?
References
These documentation links provide authoritative details for the commands used in this article.
Up Next
Copy Files in PowerShell
Duplicate files using Copy-Item.