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