mkdir powershell code example
Example 1: powershell new item
New-Item "C:\file.txt" -ItemType File -Force
Example 2: mkdir powershell
New-Item -Path "c:\some\folder\path" -ItemType Directory
New-Item "C:\file.txt" -ItemType File -Force
New-Item -Path "c:\some\folder\path" -ItemType Directory