< Back
Install-PowerShellGetOffline
Post
NAME Install-PowerShellGetOffline
SYNOPSIS
Install PowerShellGet and related modules to a disconnected system
SYNTAX
Install-PowerShellGetOffline [-LocalFolder] <String> [<CommonParameters>]
DESCRIPTION
This performs the steps needed for internet-disconnected systems to use PowerShellGet
It takes a path (folder name) that has a copy of
NuGet.Exe and
The PowerShellGet module, unpacked and
The PackageManagement modules, unpacked
This will copy the PowerShellGet components from the LocalFolder into the proper locations for the local machine
The script assumes that the installation will be done as an administrator on the target device, so that all users
can use PowerShellGet after this.
To find details on how to change the scope to the current user, see the documentation
PARAMETERS
-LocalFolder <String>
Required, is the path to a folder where PowerShellGet, Package Management, and NuGet.Exe have been placed
using Save-PowerShellGetForOffline.
Required? true
Position? 1
Default value C:\\temp\\demo
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Install-PowerShellGetOffline -LocalFolder \\\\testshare\\temp\\PowerShellGetStuff
RELATED LINKS
SYNOPSIS
Install PowerShellGet and related modules to a disconnected system
SYNTAX
Install-PowerShellGetOffline [-LocalFolder] <String> [<CommonParameters>]
DESCRIPTION
This performs the steps needed for internet-disconnected systems to use PowerShellGet
It takes a path (folder name) that has a copy of
NuGet.Exe and
The PowerShellGet module, unpacked and
The PackageManagement modules, unpacked
This will copy the PowerShellGet components from the LocalFolder into the proper locations for the local machine
The script assumes that the installation will be done as an administrator on the target device, so that all users
can use PowerShellGet after this.
To find details on how to change the scope to the current user, see the documentation
PARAMETERS
-LocalFolder <String>
Required, is the path to a folder where PowerShellGet, Package Management, and NuGet.Exe have been placed
using Save-PowerShellGetForOffline.
Required? true
Position? 1
Default value C:\\temp\\demo
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Install-PowerShellGetOffline -LocalFolder \\\\testshare\\temp\\PowerShellGetStuff
RELATED LINKS