Enable-UnixTools.psm1
|
#Requires -Version 5.1 function Enable-UnixTools { [CmdletBinding(PositionalBinding = $false)] param( [Parameter(ValueFromRemainingArguments = $true)] [object[]]$ArgumentList ) $installerPath = Join-Path -Path $PSScriptRoot -ChildPath 'Enable-UnixToolsSystemWide.ps1' if (-not (Test-Path -LiteralPath $installerPath -PathType Leaf)) { throw "Enable-UnixToolsSystemWide.ps1 not found in module path: $installerPath" } & $installerPath @ArgumentList } Export-ModuleMember -Function Enable-UnixTools |