command to create new folder in powershell code example Example: powershell new folder New-Item -ItemType directory -Path C:\Scripts\newDir