원하는 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

유용한 파워쉘 명령어



Get-WindowsDriver –Online –All


Export-WindowsDriver -Online -Destination c:\backup-drivers

<맬웨어 찾기>
Start-MpScan –ScanType QuickScan/FullScan –ScanPath “C:\Program Files”

<명령어 보기>
Get-Command -CommandType cmdlet/application/function/alias


Get-PSDrive
Get-PSDrive -PSProvider FileSystem/Alias/Registry

참고 영상: https://youtu.be/VFuobJbbDtU