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