<t>Try the -Force parameter:<br/>
<br/>
New-Item -ItemType Directory -Force -Path C:\Path\That\May\Or\May\Not\Exist<br/>
<br/>
```<br/>
<br/>
You can use [`Test-Path -PathType Container`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/test-path?view=powershell-5.1) to check first.<br/>
<br/>
See the [New-Item](https://learn.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Management/New-Item) MSDN help article for more details.</t>