Script directory for a PowerShell profile. https://blog.lksz.me/keeping-track-of-everything/#-mypsscriptroot
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
228 B

  1. [CmdletBinding()]param(
  2. [string]$Filter,
  3. [switch]$NamesOnly
  4. )
  5. $local:rVal = [MyScript]::_GetValidValues($Filter,$true)
  6. if( $NamesOnly ) { return $rVal }
  7. return $rVal | ForEach-Object { Join-Path $MyPSScriptRoot "$_`.ps1" }