Create a folder with PowerShell
In this “How To” tutorial, I will show you how to create a folder in PowerShell.
To create a folder in PowerShell, use the New-Item
cmdlet indicating the location and name of the folder and set the itemType
parameter with the value Directory to indicate that you want to create a folder.
Example to create the SharedFolder folder at the root of drive C:
The New-Item cmdlet is used in PowerShell to create different types like folders, registry key, file …