Framework/Helpers/AliasHelper.ps1

1
2
3
4
5
6
7
8
9
[CommandHelper]::Mapping | ForEach-Object {
    $commandName = $_.Verb + '-' + $_.Noun
    $alias = $_.ShortName
    Set-Alias -Name $alias -Value $commandName -ErrorAction SilentlyContinue
    #Set-Alias -Name $($alias.ToLower()) -Value $commandName -ErrorAction SilentlyContinue
    
}
Export-ModuleMember -Alias "*AzSK*" -Function *