Windows PowerShellで、 touchや mkdirのように使えるコマンドです。

 

touch 空のファイルを作る

↓下のコマンドは、 「test.ps1」というファイルを作る場合

New-Item -Type File test.ps1

New-Item

 

mkdir ディレクトリを作る

↓は、 testという名前のディレクトリを作成する場合 

New-Item -Type Directory test

 

大阪道頓堀