internal/Show-MtLogo.ps1
|
function Show-MtLogo { [CmdletBinding()] [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '', Justification = 'Colors are beautiful')] [OutputType([string])] param () $Version = (Import-PowerShellDataFile -Path "$PSScriptRoot/../MyCorp.psd1").ModuleVersion # ASCII Art using style "ANSI Shadow" $Logo = @" $$\ $$\ $$$$$$\ $$$\ $$$ | $$ __$$\ $$$$\ $$$$ |$$\ $$\ $$ / \__| $$$$$$\ $$$$$$\ $$$$$$\ $$\$$\$$ $$ |$$ | $$ |$$ | $$ __$$\ $$ __$$\ $$ __$$\ $$ \$$$ $$ |$$ | $$ |$$ | $$ / $$ |$$ | \__|$$ / $$ | $$ |\$ /$$ |$$ | $$ |$$ | $$\ $$ | $$ |$$ | $$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$ |\$$$$$$ |$$ | $$$$$$$ | \__| \__| \____$$ | \______/ \______/ \__| $$ ____/ $$\ $$ | $$ | \$$$$$$ | $$ | \______/ \__| $Version "@ Write-Host $Logo -ForegroundColor Red } |