Public/Get-PokemonAsAscii.ps1
Function Get-PokemonAsAscii { [OutputType([string])] [CmdletBinding()] param( $Pokemon ) $uponelevel = Split-Path (Split-Path $PSCommandPath) $pkmnAsciiFiles = Join-Path -Path $uponelevel -ChildPath (Join-Path -Path $pokemon -ChildPath ".txt") Test-Path $pkmnAsciiFiles } |