Private/Get-SolutionName.ps1
function Get-SolutionName { [CmdletBinding()] param( ) if ($IsWindows) { return ((Get-Location) -split '\\')[-2] } else { return ((Get-Location) -split '/')[-2] } } |
function Get-SolutionName { [CmdletBinding()] param( ) if ($IsWindows) { return ((Get-Location) -split '\\')[-2] } else { return ((Get-Location) -split '/')[-2] } } |