new-item file powershell code example
Example 1: powershell new folder
New-Item -ItemType directory -Path C:\Scripts\newDir
Example 2: powershell make file
New-Item <filename.filetype>
New-Item -ItemType directory -Path C:\Scripts\newDir
New-Item <filename.filetype>