Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($Env:PSModulePath)中指定的路径导入的模块。
Cmdlet Get-Module 會列出已匯入或可匯入 PowerShell 會話的 PowerShell 模組。 如果沒有參數, Get-Module 取得已匯入目前會話的模組。 ListAvailable 參數可用來列出可從 PSModulePath 環境變數中指定的路徑匯入的模組, ($env:PSModulePath)。傳回的模組物件 Get-Module 包含有關模組的寶貴資訊。 您也可以使用...
PowerShellGet 參考 意見反應 本文件涵蓋 PowerShellGet 模組的 3.0.22-beta22 版。 此模組提供以與 PowerShellGet v2.2.x 相容。 此模組版本中的 Cmdlet 是 Proxy Cmdlet,可呼叫 Microsoft.PowerShell.PSResourceGet 模組中的對等 Cmdlet。 Proxy Cmdlet 可為使用 2.x 版 Cmdlet 的腳本提供相容性層。 在...
Powershell模块是一种用于扩展和增强Powershell功能的组件。它们包含了一组相关的命令、函数和变量,可以通过导入模块来使用这些功能。 Get-Module -All命令用于获取系统中所有已安装的Powershell模块。它返回一个包含模块信息的列表,包括模块的名称、版本号、作者等。 Get-InstalledModule命令是Powershell 5.0及更...
PowerShell脚本因其良好的功能特性常用于正常的系统管理和安全配置工作,然而,这些特性被攻击者理解并转化...
示例 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...
Applies To: Windows PowerShell 2.0 Gets the modules that have been imported or that can be imported into the current session. Syntax Copy Get-Module [[-Name] <string[]>] [-All] [<CommonParameters>] Get-Module [[-Name] <string[]>] [-All] [-ListAvailable] [<CommonParameters>] ...
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...
PowerShellGet PowerShellGet에서 설치한 컴퓨터의 모듈 목록을 가져옵니다. Syntax PowerShell복사 Get-InstalledModule[[-Name] <String[]>] [-MinimumVersion <String>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-AllVersions] [-AllowPrerelease] [<...
\Windows\system32\WindowsPowerShell\v1.0\Modules\FileTransfer PrivateData : Version : 1.0.0.0 ModuleType : Manifest AccessMode : ReadWrite ExportedFunctions : {} ExportedCmdlets : {} NestedModules : {} ExportedVariables : {} ExportedAliases : {} SessionState : System.Management.Automation.Session...