원하는 PowerShell 명령어 찾는 방법


<원하는 PowerShell 명령어 찾는 방법>
1) -Name
Get-Command -Name test-*
Get-Command -Name *-package

2) -CommandType
Get-Command -CommandType application/cmdlet/alias/function
Get-Command -CommandType application | Where-Object {$_.Name -like “.exe”} Get-Command -CommandType application | Where-Object {$_.Name -like “q.exe”}
Get-Command -CommandType application | Where-Object {$_.Name -like “.msc”} Get-Command -CommandType application | Where-Object {$_.Name -like “.cpl”}

3) -Parameter
Get-Command -ParameterName asstring
Get-Command -ParameterName filter

4) -Module
Get-Command -Module pscx
Get-Command -Module DNSServer

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