Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 245 Bytes

ModuleAndCommand.md

File metadata and controls

10 lines (8 loc) · 245 Bytes
# 获取<moduleName>下的所有command
Get-Module <moduleName> -ListAvailable | % { $_.ExportedCommands.Values }

# 获取<commandName>所在的module
Get-Command <commandName>

# 导入<moduleName>
Import-Module <moduleName>