PowerShellGet 是一個模組,其中包含用來探索、安裝、更新及發佈 PowerShell 成品的命令,例如模組、DSC 資源、角色功能和腳本。 此網站上的 Cmdlet 參考檔會記載模組的最新版本。 重要 從 2020 年 4 月起,PowerShell 資源庫已不再支援傳輸層安全性 (TLS) 1.0 和 1.1 版。
PowerShellGet 模块中的 cmdlet 使用 NuGet 中的功能与 PowerShell 库进行交互。下表列出了用于在 PowerShell 库中查找内容的两个最常见 cmdlet。表1:用于在 PowerShell 库中查找内容的 Cmdlet展开表 Cmdlet说明 Find-Module 使用此 cmdlet 在 PowerShell 库中搜索 Windows PowerShell 模块。 最...
此模块版本中的 cmdlet 是调用 Microsoft.PowerShell.PSResourceGet 模块中的等效 cmdlet 的代理 cmdlet。 代理cmdlet 为使用版本 2.x cmdlet 的脚本提供兼容层。 在大多数情况下,脚本无需修改即可继续工作。 但是,模块之间的行为存在一些差异。 Microsoft.PowerShell.PSResourceGet cmdlet 不支持 PowerShellGet cmdlet...
Get-InstalledModule Reference Feedback Module: PowerShellGet Gets a list of modules on the computer that were installed by PowerShellGet. Syntax Description TheGet-InstalledModulecmdlet gets PowerShell modules that are installed on a computer using PowerShellGet. To see all modules installed on the...
我能够通过在管理员PowerShell中运行下面的命令来修复此问题:
首先我们要从github上下载最新的PowerShell 的rpm 包powershell-6.0.0_alpha.14-1.el7.centos.x86_6...
Documentation for PowerShellGet has not yet been published, pleaseClick hereto reference the documentation for previous versions of PowerShellGet. Requirements Windows PowerShell 5.1 or newer. PowerShell Core. Get PowerShellGet Module Please refer to ourdocumentationfor the up-to-date version on how...
You can also view the PowerShell help documents online. To get the online version of a help file, use theOnlineparameter, such as:Get-Help Get-Process -Online. If you typeGet-Helpfollowed by the exact name of a help article, or by a word unique to a help article,Get-Helpdisplays the...
PowerShell $FullyQualifiedName= @{ModuleName="Microsoft.PowerShell.Management";ModuleVersion="3.1.0.0"}Get-Module-FullyQualifiedName$FullyQualifiedName|Format-Table-PropertyName,Version Name Version --- --- Microsoft.PowerShell.Management3.1.0.0 此示例通过...
We care about security of your data. Privacy Policy Step 1: Install the PowerShell Active Directory Module Installing PowerShell on Windows 10 The Windows PowerShell cmdlets are included in the Windows Remote Server Administration Tools (RSAT). To install RSAT on Windows 10 version 1809 or later...