共用方式為


PowerShellGet Module

PowerShellGet 是一個模組,其中包含探索、安裝、更新和發佈 PowerShell 成品的命令,例如模組、DSC 資源、角色功能和腳本。

PowerShellGet Cmdlet

指令程式 Description
Find-Command

Finds PowerShell commands in modules.

Find-DscResource

Finds Desired State Configuration (DSC) resources.

Find-Module

Finds modules in a repository that match specified criteria.

Get-InstalledModule

Gets installed modules on a computer.

Get-PSRepository

Gets PowerShell repositories.

Install-Module

Downloads one or more modules from a repository, and installs them on the local computer.

Publish-Module

Publishes a specified module from the local computer to an online gallery.

Register-PSRepository

Registers a PowerShell repository.

Save-Module

Saves a module and its dependencies on the local computer but doesn't install the module.

Set-PSRepository

Sets values for a registered repository.

Uninstall-Module

Uninstalls a module.

Unregister-PSRepository

Unregisters a repository.

Update-Module

Downloads and installs the newest version of specified modules from an online gallery to the local computer.