PowerShellGet v3 Module
Ez a dokumentáció a PowerShellGet modul 3.0.22-béta22-es verzióját ismerteti. Ez a modul a PowerShellGet 2.2.x verziójával való kompatibilitást szolgálja. A modul ezen verziójának parancsmagjai proxyparancsmagok, amelyek a Microsoft.PowerShell.PSResourceGet modul egyenértékű parancsmagjait hívják meg.
A proxyparancsmagok kompatibilitási réteget biztosítanak a 2.x-es verziójú parancsmagokat használó szkriptekhez. A legtöbb esetben a szkriptek módosítás nélkül is működnek. A modulok viselkedésében azonban vannak különbségek. A PowerShellGet-parancsmagok egyes paramétereit a Microsoft.PowerShell.PSResourceGet parancsmagok nem támogatják. A proxyparancsmagok csendesen elvetik a nem támogatott paramétereket, átalakítanak néhány paramétert, és más paramétereket átadnak a Microsoft.PowerShell.PSResourceGet modul egyenértékű parancsmagjainak.
További információ a Microsoft.PowerShell.PSResourceGet modulról: about_PSResourceGet.
Fontos
A Windows PowerShell 5.1 PowerShellGet előtelepített 1.0.0.1-es verziójával rendelkezik. A PowerShellGet ezen verziója korlátozott funkciókkal rendelkezik, és nem támogatja a PowerShell-gyűjtemény frissített funkcióit. A támogatáshoz frissítenie kell a legújabb verzióra.
PowerShellGet-parancsmagok
| Parancsmag | 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. |
| Find-RoleCapability |
Finds role capabilities in modules. |
| Find-Script |
Finds a script. |
| Get-InstalledModule |
Gets a list of modules on the computer that were installed by PowerShellGet. |
| Get-InstalledScript |
Gets an installed script. |
| Get-PSRepository |
Gets PowerShell repositories. |
| Install-Module |
Downloads one or more modules from a repository, and installs them on the local computer. |
| Install-Script |
Installs a script. |
| New-ScriptFileInfo |
Creates a script file with metadata. |
| Publish-Module |
Publishes a specified module from the local computer to an online gallery. |
| Publish-Script |
Publishes a script. |
| Register-PSRepository |
Registers a PowerShell repository. |
| Save-Module |
Saves a module and its dependencies on the local computer but doesn't install the module. |
| Save-Script |
Saves a script. |
| Set-PSRepository |
Sets values for a registered repository. |
| Test-ScriptFileInfo |
Validates a comment block for a script. |
| Uninstall-Module |
Uninstalls a module. |
| Uninstall-Script |
Uninstalls a script. |
| Unregister-PSRepository |
Unregisters a repository. |
| Update-Module |
Downloads and installs the newest version of specified modules from an online gallery to the local computer. |
| Update-ModuleManifest |
Updates a module manifest file. |
| Update-Script |
Updates a script. |
| Update-ScriptFileInfo |
Updates information for a script. |