Creates a directory, if it doesn't exist.
Install-Directory [-Path] <String> [<CommonParameters>]
Install-Directory function creates a directory. If the directory already exists, it does nothing. If any parent directories don't exist, they are created, too.
Install-Directory was added in Carbon 2.1.0.
|Name||Type||Description||Required?||Pipeline Input||Default Value|
The path to the directory to create.
Install-Directory -Path 'C:\Projects\Carbon'
Demonstrates how to use create a directory. In this case, the directories
C:\Projects\Carbon will be created if they don't exist.