Get-Parameter가 속한 pscx 모듈 설치하기


PowerShell v5.0부터는 Module 및 Package를 Online에서 설치할 수 있다

1) Get-Parameter가 소속 Module 찾기
Find-Module | Where-Object {$_.Includes.Command -like ‘Get-Parameter’}

2) pscx 모듈 설치하기
Install-Module -Name pscx -Force -AllowClobber

3) Get-Parameter가 pscx 모듈에 있는지 확인하기
Get-Command -Module pscx | Where-Object {$_.Name -eq “Get-Parameter”}

4) 특정한 cmdlet가 가지고 있는 Parameter 확인하기
Get-Parameter -CommandName Get-Service

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s