1、 注册模块仓库
Register-PSRepository gallery http://PowerShellGallery.com
2、更新模块
update-module
3、列举模块
Get-Module *troub* -list
4、安装模块
Install-Module -name 模块名称 -Repository gallery
5、查找模块
Find-Module *word*
6、查询模块包含的命令
Get-Command -module 模块名称
1、 注册模块仓库
Register-PSRepository gallery http://PowerShellGallery.com
2、更新模块
update-module
3、列举模块
Get-Module *troub* -list
4、安装模块
Install-Module -name 模块名称 -Repository gallery
5、查找模块
Find-Module *word*
6、查询模块包含的命令
Get-Command -module 模块名称