Get-Command
gcm
模糊搜索
Get-Command *package
CommandType Name Version Source
----------- ---- ------- ------
Alias Add-AppPackage 2.0.1.0 Appx
Alias Add-AppProvisionedPackage 3.0 Dism
Alias Add-ProvisionedAppPackage 3.0 Dism
Alias Add-ProvisionedAppxPackage 3.0 Dism
Alias Get-AppPackage 2.0.1.0 Appx
Alias Get-AppProvisionedPackage 3.0 Dism
Alias Get-ProvisionedAppPackage 3.0 Dism
Alias Get-ProvisionedAppxPackage 3.0 Dism
Alias Move-AppPackage 2.0.1.0 Appx
Alias Remove-AppPackage 2.0.1.0 Appx
Alias Remove-AppProvisionedPackage 3.0 Dism
Alias Remove-ProvisionedAppPackage 3.0 Dism
Alias Remove-ProvisionedAppxPackage 3.0 Dism
Alias Reset-AppPackage 2.0.1.0 Appx
Function Export-BCCachePackage 1.0.0.0 BranchCache
Function Import-BCCachePackage 1.0.0.0 BranchCache
Cmdlet Add-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Add-AppxPackage 2.0.1.0 Appx
Cmdlet Add-AppxProvisionedPackage 3.0 Dism
Cmdlet Add-WindowsPackage 3.0 Dism
Cmdlet Clear-UevAppxPackage 2.1.639.0 UEV
Cmdlet Disable-UevAppxPackage 2.1.639.0 UEV
Cmdlet Enable-UevAppxPackage 2.1.639.0 UEV
Cmdlet Export-UevPackage 2.1.639.0 UEV
Cmdlet Find-Package 1.0.0.1 PackageManagement
Cmdlet Get-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Get-AppxPackage 2.0.1.0 Appx
Cmdlet Get-AppxProvisionedPackage 3.0 Dism
Cmdlet Get-Package 1.0.0.1 PackageManagement
Cmdlet Get-UevAppxPackage 2.1.639.0 UEV
Cmdlet Get-WindowsPackage 3.0 Dism
Cmdlet Install-Package 1.0.0.1 PackageManagement
Cmdlet Invoke-CommandInDesktopPackage 2.0.1.0 Appx
Cmdlet Mount-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Move-AppxPackage 2.0.1.0 Appx
Cmdlet Publish-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Remove-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Remove-AppxPackage 2.0.1.0 Appx
Cmdlet Remove-AppxProvisionedPackage 3.0 Dism
Cmdlet Remove-WindowsPackage 3.0 Dism
Cmdlet Repair-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Reset-AppxPackage 2.0.1.0 Appx
Cmdlet Save-Package 1.0.0.1 PackageManagement
Cmdlet Set-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Stop-AppvClientPackage 1.0.0.0 AppvClient
Cmdlet Uninstall-Package 1.0.0.1 PackageManagement
Cmdlet Unpublish-AppvClientPackage 1.0.0.0 AppvClient
精确搜索
Get-Command Get-Package
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-Package 1.0.0.1 PackageManagement
Get-Help
man
模糊搜索
Get-Help *package
Name Category Module Synopsis
---- -------- ------ --------
Find-Package Cmdlet PackageManagement ...
Get-Package Cmdlet PackageManagement ...
Install-Package Cmdlet PackageManagement ...
Save-Package Cmdlet PackageManagement ...
Uninstall-Package Cmdlet PackageManagement ...
Mount-AppvClientPackage Cmdlet AppvClient Mount-AppvClientPackage...
Add-AppvClientPackage Cmdlet AppvClient Add-AppvClientPackage...
Stop-AppvClientPackage Cmdlet AppvClient Stop-AppvClientPackage...
Publish-AppvClientPackage Cmdlet AppvClient Publish-AppvClientPackage...
Set-AppvClientPackage Cmdlet AppvClient Set-AppvClientPackage...
Remove-AppvClientPackage Cmdlet AppvClient Remove-AppvClientPackage...
Repair-AppvClientPackage Cmdlet AppvClient Repair-AppvClientPackage...
Get-AppvClientPackage Cmdlet AppvClient Get-AppvClientPackage...
Unpublish-AppvClientPackage Cmdlet AppvClient Unpublish-AppvClientPackage...
Move-AppxPackage Cmdlet Appx Move-AppxPackage...
Remove-AppxPackage Cmdlet Appx Remove-AppxPackage...
Reset-AppxPackage Cmdlet Appx Reset-AppxPackage...
Get-AppxPackage Cmdlet Appx Get-AppxPackage...
Add-AppxPackage Cmdlet Appx Add-AppxPackage...
Invoke-CommandInDesktopPackage Cmdlet Appx Invoke-CommandInDesktopPackage...
Export-BCCachePackage Function BranchCache ...
Import-BCCachePackage Function BranchCache ...
Remove-WindowsPackage Cmdlet Dism Remove-WindowsPackage...
Add-WindowsPackage Cmdlet Dism Add-WindowsPackage...
Remove-AppxProvisionedPackage Cmdlet Dism Remove-AppxProvisionedPackage...
Add-AppxProvisionedPackage Cmdlet Dism Add-AppxProvisionedPackage...
Get-WindowsPackage Cmdlet Dism Get-WindowsPackage...
Get-AppxProvisionedPackage Cmdlet Dism Get-AppxProvisionedPackage...
Export-UevPackage Cmdlet UEV Export-UevPackage...
Disable-UevAppxPackage Cmdlet UEV Disable-UevAppxPackage...
Get-UevAppxPackage Cmdlet UEV Get-UevAppxPackage...
Enable-UevAppxPackage Cmdlet UEV Enable-UevAppxPackage...
Clear-UevAppxPackage Cmdlet UEV Clear-UevAppxPackage...
精确搜索
Get-Help Get-Package
名称
Get-Package
语法
Get-Package [[-Name] <string[]>] [<CommonParameters>]
Get-Package [[-Name] <string[]>] [<CommonParameters>]
Get-Package [[-Name] <string[]>] [<CommonParameters>]
别名
无
备注
Get-Help 在此计算机上找不到该 cmdlet 的帮助文件。它仅显示部分帮助。
-- 若要下载并安装包含此 cmdlet 的模块的帮助文件,请使用 Update-Help。
-- 若要联机查看此 cmdlet 的帮助主题,请键入: "Get-Help Get-Package -Online" 或
转到 https://go.microsoft.com/fwlink/?LinkID=517135。
VS.
速度Get-Command
快,秒级回显Get-Help
慢,异步加载
排序Get-Command
软件名称Get-Help
模块
其他Get-Command
显示类型和版本Get-Help
显示概要
总结Get-Command
适合模糊搜索匹配的命令,更快速全面。Get-Help
适合单条命令,对单条命令的使用有更好的解释。
友情提示:本站所有文章,如无特殊说明或标注,均为何星星原创发布。与此同时,趋于近年来本站的文章内容频繁被他站盗用与机器采集,现已全局禁用网站文字内容操作,了解详情或转载文章请 点此 继续!
0 条评论