Public/Nuget/Get-NugetPath.ps1

function Get-NugetPath {
    [CmdletBinding()]
    [CmdLetTag("#nuget")]
    param (
        
    )
    
    begin {
    }
    
    process {
        $nuget = "$env:TEMP\nuget.exe"
        if (!(Test-Path $nuget)) {
            $c = [System.Net.WebClient]::new()
            $c.DownloadFile("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", $nuget)
            $c.dispose()
        }
        $nuget
    }
    
    end {
    }
}