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