The Save-Module command

The Save-Module command downloads the module from the PowerShell Gallery to a given path without installing it. For example, the following command downloads the Carbon module into a Modules directory in the root of the C: drive:

Save-Module -Name Carbon -Path C:Modules 

Save-Module will do the following:

  • Always download the module and overwrite any previously saved version in the specified path.
  • Ignore installed or other saved versions.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.24.134