PowerShellGet参考 反馈 本文档介绍 PowerShellGet 模块版本 3.0.22-beta22。 提供此模块是为了与 PowerShellGet v2.2.x 兼容。 此版本的模块中的 cmdlet 是调用 Microsoft.PowerShell.PSResourceGet 模块中等效 cmdlet 的代理 cmdlet。 代理cmdlet 为使用版本 2.x cmdlet 的脚本提供兼容性层。 在大多数情况下...
PowerShell 複製 Get-Module [[-Name] <String[]>] [-FullyQualifiedName <ModuleSpecification[]>] [-All] [<CommonParameters>]PowerShell 複製 Get-Module [[-Name] <String[]>] [-FullyQualifiedName <ModuleSpecification[]>] [-All] [-ListAvailable] [-PSEdition <String>] [-SkipEditionCheck]...
Microsoft.PowerShell.Core 列出当前会话中导入的模块,或者可从 PSModulePath 导入的模块。 语法 PowerShell Get-Module[[-Name] <String[]>] [-FullyQualifiedName <ModuleSpecification[]>] [-All] [<CommonParameters>] PowerShell Get-Module[[-Name] <String[]>] [-FullyQualifiedName <ModuleSpecification[...
示例 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{Describe,C...
PowerShell 複製 Get-Module PowerShellGet, PackageManagement -ListAvailable 下列輸出顯示必須安裝最新的穩定版本。Output 複製 Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands --- --- --- --- Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package,...
Module: PowerShellGet Finds PowerShell commands in modules.SyntaxPowerShell Kopiér Find-Command [[-Name] <String[]>] [-ModuleName <String>] [-MinimumVersion <String>] [-MaximumVersion <String>] [-RequiredVersion <String>] [-AllVersions] [-AllowPrerelease] [-Tag <String[]>] [-Filter ...
PowerShell 复制 Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]说明Get-Member cmdlet 获取对象的成员、属性和方法。 若要指定对象,请使用 InputObject 参数或管道将对象 Get-Member。
Module: Microsoft.PowerShell.Core Gets PowerShell background jobs that are running in the current session.SyntaxPowerShell Copy Get-Job [-IncludeChildJob] [-ChildJobState <JobState>] [-HasMoreData <Boolean>] [-Before <DateTime>] [-After <DateTime>] [-Newest <Int32>] [[-Id] <Int32[...
Add ExcludeModule parameter to Get-CommandPowerShell/PowerShell#18955 Related Source Issues Provide a way to exclude cmdlets from some modules from completions in a concrete powershell sessionPowerShell/PowerShell#16747 Fixes #11356 - Add ExcludeModule parameter to Get-CommandMicrosoftDocs/PowerShell-...
Standard PowerShell:- Open an administrative PowerShell prompt Run the following commands Import-Module"$ClonePath\tools\build.psm1"Install-DependenciesInstall-DevelopmentModule This will take the published module from ./dist and install it into the powershell module path under the current version of...