New Folder - AlivaJG/PSAppDeployToolkit GitHub Wiki
Create a new folder.
New-Folder [-Path] <String> [[-ContinueOnError] <Boolean>] [<CommonParameters>]
Create a new folder if it does not exist.
-Path <String>
Path to the new folder to create.
-ContinueOnError <Boolean>
Continue if an error is encountered. Default is: $true.
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
-------------------------- EXAMPLE 1 --------------------------
PS C:>New-Folder -Path "$envWinDir\System32"
To see the examples, type: Get-Help New-Folder -Examples
For more information, type: Get-Help New-Folder -Detailed
For technical information, type: Get-Help New-Folder -Full
For online help, type: Get-Help New-Folder -Online