PoshCode Archive  Artifact [196b73f3a1]

Artifact 196b73f3a14e88912c368e0358064698378ed9032785ea134d3623c236b0e53b:

  • File Get-Cpl.ps1 — part of check-in [245e324c66] at 2018-06-10 13:09:36 on branch trunk — A function to retrieve available Control Panel Applets along with a description. (user: unknown size: 516)

# encoding: ascii
# api: powershell
# title: Get-Cpl
# description: A function to retrieve available Control Panel Applets along with a description.
# version: 0.1
# type: function
# license: CC0
# function: Get-Cpl
# x-poshcode-id: 2397
# x-archived: 2010-12-10T22:10:24
#
#
function Get-Cpl {
dir $env:windir\system32 | Where-Object {$_.Extension -eq ".cpl"} | Select-Object Name,@{Name="Description";Expression={$_.VersionInfo.FileDescription}} | Sort-Object Description | Format-Table -AutoSize
}