r example, when it creates a new file, New-Item can add initial content to the file.
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