New-Item powershell code example
Example 1: powershell new folder
New-Item -ItemType directory -Path C:\Scripts\newDir
Example 2: powershell make directory
mkdir <directory name>
Example 3: powershell new item
New-Item "C:\file.txt" -ItemType File -Force