private/New-AccelDirectory.ps1

function New-AccelDirectory {
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)][string]$Path
    )
    if (Test-Path -LiteralPath $Path -PathType Container) { return $true }
    if ($PSCmdlet.ShouldProcess($Path, 'Create directory')) {
        New-Item -ItemType Directory -Path $Path -Force | Out-Null
    }
    return $true
}