PowerShell Get-InstalledModule[[-Name] <String[]>] [-MinimumVersion <String>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-AllVersions] [-AllowPrerelease] [<CommonParameters>] Description TheGet-InstalledModulecmdlet gets PowerShell modules that are installed on a computer using Powe...
PowerShell 复制 Find-Module -Name PowerShellGet | Install-Module 使用Find-ModuleName 参数指定 PowerShellGet 模块。 默认情况下,从存储库下载模块的最新版本。 该对象将管道向下发送到 Install-Module cmdlet。 Install-Module 为所有用户 $env:ProgramFiles\PowerShell\Modules安装该模块。示例...
PowerShell 复制 Update-Module [[-Name] <String[]>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-Credential <PSCredential>] [-Scope <String>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-Force] [-AllowPrerelease] [-AcceptLicense] [-PassThru] [-WhatIf] [-Confirm] ...
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...
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.
示例 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...
此参数是在 Windows PowerShell 3.0 中引入的。 类型:SwitchParameter Position:Named 默认值:False 必需:False 接受管道输入:False 接受通配符:False -SkipEditionCheck 跳过CompatiblePSEditions字段的检查。 默认情况下,Get-Module省略%windir%\System32\WindowsPowerShell\v1.0\Modules目录中未在Core字段中指定的模块。
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...
Install-PSResource-RequiredResource@{Configuration="[1.3.1,2.0]"Pester=@{version="[4.4.2,4.7.0]"repository="https://www.powershellgallery.com"credential=$credallowPrerelease=$true}} In this case the modules named “Configuration”, and “Pester” will be installed. The JSON format will be ...
The `Get-Command` cmdlet gets all commands that are installed on the computer, includi ng cmdlets, aliases, functions, filters, scripts, and applications. `Get-Command` gets the commands from PowerShell modules and commands that were imported from other sessi ons. To get only commands that hav...