Private/Get-IntroAT.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
function get-introat {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $false)]
        [ValidateSet('yes', 'no')]
        $clear = "yes"
    )

    if ($clear -eq "no") {
    }

    if ($clear -eq "yes") {
        Clear-Host
    }

    Write-Host "
                    _______ __ __
                   | _ .--| .--------|__.-----.
                   |. 1 | _ | | | |
                   |. _ |_____|__|__|__|__|__|__|
                   |: | | _______ __ __
                   |::.|:. | | .-----.-----| | |--.-----.--.--.
                   '--- ---' |.| | | _ | _ | | _ | _ |_ _|
                                  '-|. |-|_____|_____|__|_____|_____|__.__|
                                    |: |
                                    |::.|
                                    '---'
"
 -Foregroundcolor Green

    Write-Host " --------------------------------------------------------------------"      -Foregroundcolor Green
    Write-Host " > "                                                                        -Foregroundcolor Green   -NoNewline
    Write-Host "Use "                                                                                   -ForegroundColor Yellow  -NoNewline
    Write-Host "Get-Info "                                                                              -ForegroundColor Cyan    -NoNewline
    Write-Host "for help using this module "                                   -ForegroundColor Yellow  -NoNewline
    Write-Host "<"                                                                                      -Foregroundcolor Green
    Write-Host " > "                                                                        -Foregroundcolor Green   -NoNewline
    Write-Host "This is a "                                                                             -ForegroundColor Yellow  -NoNewline
    Write-Host "Master Module "                                                                         -ForegroundColor Magenta -NoNewline
    Write-Host "for many Awesome modules! "                                              -ForegroundColor Yellow  -NoNewline                   
    Write-Host "<"                                                                                      -Foregroundcolor Green
    Write-Host " --------------------------------------------------------------------"      -Foregroundcolor Green

    Write-Host " "
}