PowerShell Kopiér Get-InstalledModule [[-Name] <String[]>] [-MinimumVersion <String>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-AllVersions] [-AllowPrerelease] [<CommonParameters>]DescriptionThe
$home\Documents\PowerShell\Modules 未定義範圍時,會根據 PowerShellGet 版本設定預設值。 在PowerShellGet 2.0.0 版和更新版本中,預設值為CurrentUser,不需要提高安裝許可權。 在PowerShellGet 1.x 版本中,預設值為AllUsers,需要提高安裝許可權。 Type:String ...
CurrentUser 的$home\Documents\PowerShell\Modules模块更新不需要提升的权限。 AllUsers$env:ProgramFiles\PowerShell\Modules 的模块更新需要提升的权限。 重要 自2020 年 4 月起,PowerShell 库已不再支持传输层安全性 (TLS) 版本 1.0 和 1.1。 如果你使用的不是 TLS 1.2 或更高版本,那么,在尝试访问 Power...
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 mod...
示例 PSC:\Users\admin>Get-Module-ListAvailable 目录: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands---Script 1.0.1 Microsoft.PowerShell.Operation.V...{Get-OperationValidat...Binary 1.0.0.1 PackageManagement{Find-Package,Get-Pa...Script 3.4.0 Pester...
Install modules to user profile or for all users (elevated access required) Install multifile modules from ZIP Import module after install Alter your profile to load a given module PowerShell starts up Execute Install.ps1 Tab completion for modules, ismo Ps ...
Describe the bug I'm unable to install from (though I am able to publish to) PowerShell modules using the Install-Module PowerShell commandlet in PowerShellGet, which is the recommended way to install PowerShell modules from a NuGet feed...
Summary: Learn how to find modules that were installed by the Windows PowerShellGetcommand. How can I use Windows PowerShell to find modules that have been installed by theGetcommand? Use theGet-InstalledModulecommand.
PowerShell Update-Module[[-Name] <String[]>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-Credential <PSCredential>] [-Scope <String>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-Force] [-AllowPrerelease] [-AcceptLicense] [-PassThru] [-WhatIf] [-Confirm] [<Common...
$env:ProgramFiles\PowerShell\Modules CurrentUserinstalla i moduli in un percorso accessibile solo all'utente corrente del computer. Ad esempio: $HOME\Documents\PowerShell\Modules Quando non viene definitoalcun ambito, il valore predefinito viene impostato in base alla versione di PowerShellGet. ...