GetModuleCommand Constructor Reference Feedback Definition Namespace: Microsoft.PowerShell.Commands Assembly: System.Management.Automation.dll Package: System.Management.Automation v7.4.0 C++ 複製 public: GetModuleCommand(); Applies to 產品版本 PowerShell SDK 7.2.0, 7.3.0, 7.4.0 Windows ...
This documentation covers version 3.0.22-beta22 of the PowerShellGet module. This module is provided for compatibility with PowerShellGet v2.2.x. The cmdlets in this version of the module are proxy cmdlets that call the equivalent cmdlets in the Microsof
Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($env:PSModulePath)中指定的路径导入的模块。Get-Module 返回的模块对象包含有关该模块的宝贵信息。 还可以通过...
PowerShell.PSResourceGet PowerShellGet Commands Find-Command Find-DscResource Find-Module Find-RoleCapability Find-Script Get-InstalledModule Get-InstalledScript Get-PSRepository Install-Module Install-Script New-ScriptFileInfo Publish-Module Publish-Script Register-PSRepository Save-Module Save-Script Set-...
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,Context...
Module: Microsoft.PowerShell.Core Displays information about PowerShell commands and concepts.SyntaxPowerShell Copy Get-Help [[-Name] <String>] [-Path <String>] [-Category <String[]>] [-Full] [-Component <String[]>] [-Functionality <String[]>] [-Role <String[]>] [<CommonParameters>]...
Module: Microsoft.PowerShell.Diagnostics Gets events from event logs and event tracing log files on local and remote computers.SyntaxPowerShell Copy Get-WinEvent [[-LogName] <String[]>] [-MaxEvents <Int64>] [-ComputerName <String>] [-Credential <PSCredential>] [-Fil...
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...
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,Context...
Windows PowerShell 5.1 附带了预安装的 1.0.0.1 版 PowerShellGet。 此版本的 PowerShellGet 功能有限,不支持 PowerShell 库的更新功能。 若要获得支持,必须更新到最新版本。PowerShellGet展开表 Find-Command Finds PowerShell commands in modules. Find-DscResource Finds Desired State Configuration (DSC) resou...