Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($Env:PSModulePath)中指定的路径导入的模块。
此版本的 PowerShellGet 具有有限的功能,且不支援 PowerShell 資源庫 的更新功能。 若要支援,您必須更新為最新版本。 PowerShellGet 展開資料表 Find-Command Finds PowerShell commands in modules. Find-DscResource Finds Desired State Configuration (DSC) resources. Find-Module Finds modules in a repository...
PowerShell Install-Module[-Name] <String[]> [-MinimumVersion <String>] [-MaximumVersion <String>] [-RequiredVersion <String>] [-Repository <String[]>] [-Credential <PSCredential>] [-Scope <String>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-AllowClobber] [-SkipPublisherCheck] [...
表1:用于在 PowerShell 库中查找内容的 Cmdlet Cmdlet说明 Find-Module使用此 cmdlet 在 PowerShell 库中搜索 Windows PowerShell 模块。 最简单的用法是根据模块名进行搜索,但也可以根据命令名、版本、DscResource 和 RoleCapability 进行搜索。 Find-Script使用此 cmdlet 在 PowerShell 库中搜索 Wi...
Get-Module ค้นพบ Product documentation ภาษาการพัฒนา หัวข้อ เวอร์ชัน PowerShell 7.4 (LTS) How to use this documentation Overview Install Learning PowerShell
This module provide functions used with PowerShellGet v3 to provide compatibility with scripts expecting PowerShellGet v2 - PowerShell/PowerShellGet
# Write to the Azure Functions log stream. Write-Host "PowerShell HTTP trigger function processed a request." $User = "XXXXXXXXXXXXXxxxxxxxx" $PWord = ConvertTo-SecureString -String "XXXXXXXXXXXXXxxxxxxxx" -AsPlainText -Force $Credential = New-Object System.Management.Automation.PSCredential($...
Note: For scripts written against earlier versions of this module this cmdlet can also be invoked with the alias, Get-LMFunctions. Parameters -ClientConfig <AmazonLambdaConfig> Amazon.PowerShell.Cmdlets.LM.AmazonLambdaClientCmdlet.ClientConfig Required? False Position? Named Accept pipeline input? Tr...
Module: Microsoft.PowerShell.Management Gets information about the current working location or a location stack. Syntax PowerShellCopy Get-Location[-PSProvider <String[]>] [-PSDrive <String[]>] [<CommonParameters>] PowerShellCopy Get-Location[-Stack] [-StackName <String[]>] [<CommonParameters...
update-module PsUrl FAQ Q: ErrorFile [x] cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.A: By default, PowerShell restricts execution of all scripts which is all about security. As a "fix", please run...