September 2017
Beginner to intermediate
272 pages
8h 8m
English
The cmdlet Install-Module is used to install DSC resources from the PSGallery. It installs DSC resources to the $env:ProgramFiles\WindowsPowerShell\Modules directory by default, which requires administrator privileges:
powershell[PS}]> Install-Module -Name xWinEventLog -Verbose VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'. VERBOSE: The specified module will be installed in 'C:\Program Files\WindowsPowerShell\Modules'. VERBOSE: ...
Read now
Unlock full access