本文档介绍 PowerShellGet 模块版本 3.0.22-beta22。 提供此模块是为了与 PowerShellGet v2.2.x 兼容。 此版本的模块中的 cmdlet 是调用 Microsoft.PowerShell.PSResourceGet 模块中等效 cmdlet 的代理 cmdlet。 代理cmdlet 为使用版本 2.x cmdlet 的脚本提供兼容性层。 在大多数情况下,脚本将继续工作,而无需...
Get-Modulecmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module获取已导入到当前会话中的模块。ListAvailable参数用于列出可从PSModulePath环境变量($Env:PSModulePath)中指定的路径导入的模块。 Get-Module返回的模块对象包含有关该模块的宝贵信息。 还可以通过管道将模块对...
该Update-Modulecmdlet 从联机库安装模块的最新版本。 在安装更新之前,系统会提示你确认更新。 仅针对在本地计算机上安装Install-Module的模块安装更新。Update-Module搜索$env:PSModulePath已安装的模块。 这是Microsoft.PowerShell.PSResourceGet中 cmdlet 的代理 cmdletUpdate-PSResource。 有关详细信息,请参阅Update-...
Cmdlet name resolution When you don't use the qualified name of a cmdlet, PowerShell checks to see if the cmdlet is loaded in the current session. If there are multiple modules loaded that contain the same cmdlet name, PowerShell uses the cmdlet from the first module found alphabetically. I...
To load the Windows PowerShell cmdlet modules:Open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE). Enter one of the following cmdlets to load a list of usable cmdlets for the module you want:Expand table App-v componentCmdlet to enter App-...
Get-CimSession Gets the CIM session objects from the current session. Invoke-CimMethod Invokes a method of a CIM class. New-CimInstance Creates a CIM instance. New-CimSession Creates a CIM session. New-CimSessionOption Specifies advanced options for the New-CimSession cmdlet. ...
Get-CimSession Gets the CIM session objects from the current session. Invoke-CimMethod Invokes a method of a CIM class. New-CimInstance Creates a CIM instance. New-CimSession Creates a CIM session. New-CimSessionOption Specifies advanced options for the New-CimSession cmdlet. ...
Note: For scripts written against earlier versions of this module this cmdlet can also be invoked with the alias, Get-MLModels. Parameters -ClientConfig <AmazonMachineLearningConfig> Amazon.PowerShell.Cmdlets.ML.AmazonMachineLearningClientCmdlet.ClientConfig Required? False Position? Named Accept pipeli...
Get-InitiatorPort Get-MaskingSet Get-OffloadDataTransferSetting Get-Partition Get-PartitionSupportedSize Get-PhysicalDisk Get-ResiliencySetting Get-StorageEnclosure Get-StorageEnclosureVendorData Get-StorageJob Get-StorageNode Get-StoragePool Get-StorageProvider ...
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...