+ CategoryInfo : InvalidArgument: (:) [New-Item], PS ArgumentNullException + FullyQualifiedErrorId : ArgumentNull,Microsoft.PowerShell.Commands.NewItemCommand code example
Example 1: powershell make directory
mkdir <directory name>
Example 2: powershell new item
New-Item "C:\file.txt" -ItemType File -Force