New-Item -Path . -Name "testfile1.txt" -ItemType "file" -Value "This is a text string."
New-Item -ItemType directory -Path C:\Scripts\newDir
New-Item <filename.filetype>