Unregisters a repository. Update-Module Downloads and installs the newest version of specified modules from an online gallery to the local computer. Update-ModuleManifest Updates a module manifest file. Update-Script Updates a script. Update-ScriptFileInfo Updates information for a script.在...
$FullyQualifiedName = @{ModuleName="Microsoft.PowerShell.Management";ModuleVersion="3.1.0.0"} Get-Module -FullyQualifiedName $FullyQualifiedName | Format-Table -Property Name, Version Name Version --- --- Microsoft.PowerShell.Management 3.1.0.0 此示例通过使用 FullyQualifiedName 参数指定模块的完全...
模块: PowerShellGet 从联机库中下载指定模块的最新版本,并将其安装到本地计算机。语法PowerShell 复制 Update-Module [[-Name] <String[]>] [-RequiredVersion <String>] [-MaximumVersion <String>] [-Credential <PSCredential>] [-Scope <String>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [...
Windows PowerShell 5.0 實作針對 $PSModulePath 中相同資料夾之單一 Windows PowerShell 模組的多個版本支援。 ModuleSpecification 類別已新增 RequiredVersion 屬性,其有助您取得所需版本的模組;這個屬性和 ModuleVersion 屬性不可以同時存在。 現在,您可將 RequiredVersion 與 Get-Module、Import-Module 和 Remove-Mo...
PowerShellGet 在存储库中查找与指定条件匹配的模块。 语法 PowerShell Find-Module[[-Name] <string[]>] [-MinimumVersion <string>] [-MaximumVersion <string>] [-RequiredVersion <string>] [-AllVersions] [-IncludeDependencies] [-Filter <string>] [-Tag <string[]>] [-Includes <string[]>] [-...
Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767) Add a parameter that skips verify packages step (#24763) Make the AssemblyVersion not change for servicing releases (#24667) Fixed release pipeline errors and switched to KS3 (#24751) Update outdated package references (#24580) Bu...
Get-WUApiVersion – 获取电脑上的 Windows Update Agent 版本; Get-WUHistory – 显示已安装更新列表(更新历史); Get-WUInstallerStatus — 检查 Windows Installer 服务状态; Get-WUJob – 检查任务计划程序中的 WUJob 更新任务; Get-WULastResults — 上次搜索和安装更新的日期(LastSearchSuccessDate和LastInstal...
# 安装PSFTP包之后我们使用如下命令查看是否已经安装成功PS>Get-ModulePSFTP-ListAvailable # 目录:C:\Program Files\WindowsPowerShell\Modules # ModuleType Version Name ExportedCommands #---# Manifest1.7.1.1PSFTP{Add-FTPItem,Get-FTPChildItem,Get-FTPConnection,Get-FTPItem...}# 查看PSFTP工具里面都支持那些...
Start-Job[-Name <String>] [-Credential <PSCredential>] [-FilePath] <String> [-Authentication <AuthenticationMechanism>] [[-InitializationScript] <ScriptBlock>] [-WorkingDirectory <String>] [-RunAs32] [-PSVersion <Version>] [-InputObject <PSObject>] [-ArgumentList <Object[]>] [<CommonParam...
Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767) Add a parameter that skips verify packages step (#24763) Make the AssemblyVersion not change for servicing releases (#24667) Fixed release pipeline errors and switched to KS3 (#24751) Update outdated package references (#24580) Bu...