Public/New-Directory.ps1
function New-Directory { [CmdletBinding()] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")] param( [Parameter(Mandatory = $true)] [string] $Path ) New-Item -Path $Path -ItemType Directory | Out-Null Set-Location -Path $Path } Set-Alias mcd New-Directory |