Skip to content

Instantly share code, notes, and snippets.

@sheepla
Last active October 13, 2023 09:38
Show Gist options
  • Save sheepla/f71273779e40b29e6ff354b5d554a835 to your computer and use it in GitHub Desktop.
Save sheepla/f71273779e40b29e6ff354b5d554a835 to your computer and use it in GitHub Desktop.
<#
.DESCRIPTION
Get available application commands full path and description
.EXAMPLE
Get-ApplicationCommandDescription.ps1 | ? Description -ne $null | Select-Object -First 10
Path Description
---- -----------
C:\Windows\system32\AgentService.exe AgentService EXE
C:\Windows\system32\aitstatic.exe Application Impact Telemetry Static Analyzer
C:\Windows\system32\alg.exe アプリケーション層ゲートウェイ サービス
C:\Windows\system32\AppHostRegistrationVerifier.exe アプリ URI ハンドラー登録検証ツール
C:\Windows\system32\appidcertstorecheck.exe AppID Certificate Store Verification Task
C:\Windows\system32\appidpolicyconverter.exe AppID Policy Converter Task
C:\Windows\system32\appidtel.exe Initializes Appid ManagedInstaller and Smartscreen Telemetry
C:\Windows\system32\ApplicationFrameHost.exe Application Frame Host
C:\Windows\system32\ApplySettingsTemplateCatalog.exe ApplySettingsTemplateCatalog EXE
C:\Windows\system32\ApplyTrustOffline.exe "ApplyTrustOffline.PROGRAM"
#>
Get-Command -Type Application | Get-Item -ErrorAction SilentlyContinue | %{
[pscustomobject] @{
Path = $_.FullName;
Description = $_.VersionInfo.FileDescription;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment