how to install smo in an offline machine

  • hi,

     

    how do I install smo in a offline machine

    https://www.nuget.org/packages/Microsoft.SqlServer.SqlManagementObjects#usedby-body-tab

    Install-Package Microsoft.SqlServer.SqlManagementObjects -Version 170.18.0

     

    PS C:\Users\Administrator> Find-Module -Repository smo

    WARNING: The file extension 'C:\Packages\nuget.exe' is not valid. The required file extension is '.nupkg'.

    Version Name Repository Description

    ------- ---- ---------- -----------

    21.0.17224 SqlServer SMO This module allows SQL Server developers, admin

     

    i could not find the package inside the folder packages even though the package is inside

    microsoft.sqlserver.sqlmanagementobjects.161.44091.28.nupkg

  • i setup local repo Register-PSRepository -Name "SMO" -SourceLocation "c:\packages" -InstallationPolicy Trusted

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply