def bootstrap():
    cmd = 'Get-PackageProvider -Name NuGet -ForceBootstrap'
    ret = _pshell(cmd)
    return ret
Make sure that nuget-anycpu.exe is installed.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_psget.py/bootstrap