PCSetup.psm1
#Import Functions $FunctionPath = $PSScriptRoot + "\Functions\" $FunctionList = get-childitem $FunctionPath -Name ForEach ($Function in $FunctionList) { . ($FunctionPath + $Function) } function Get-PCSetup { Get-Command -Module PCSetup } Function Get-IntroPCS { Write-Host " _______ _______ _______ __ | _ | _ | | _ .-----| |_.--.--.-----. |. 1 |. 1___| | 1___| -__| _| | | _ | |. ____|. |___ |____ |_____|____|_____| __| |: | |: 1 | |: 1 | |__| |::.| |::.. . | |::.. . | '---' '-------' '-------' " -Foregroundcolor Green Write-Host " --------------------------------------------------------------------" -Foregroundcolor Green Write-Host " > " -Foregroundcolor Green -NoNewline Write-Host "Use " -ForegroundColor Yellow -NoNewline Write-Host "Get-PCSetup " -ForegroundColor Cyan -NoNewline Write-Host "to see a list of Commands " -ForegroundColor Yellow -NoNewline Write-Host "<" -Foregroundcolor Green Write-Host " > " -Foregroundcolor Green -NoNewline Write-Host "Remove-Tiles " -ForegroundColor Cyan -NoNewline Write-Host "only works before joining a domain " -ForegroundColor Yellow -NoNewline Write-Host "<" -Foregroundcolor Green Write-Host " --------------------------------------------------------------------" -Foregroundcolor Green Write-Host " " } Get-IntroPCS Write-Host "Get-PCSetup to get commands" -ForegroundColor Green |