Private/Helper/Start-ControlPanel.ps1

<#
Copyright © 2024 Integris. For internal company use only. All rights reserved.
#>


FUNCTION Start-ControlPanel {
    <#
    .SYNOPSIS
    Displays a specified Control Panel item.
 
    .DESCRIPTION
    This function searches for and shows a Control Panel item that matches the provided application name.
 
    .PARAMETER AppName
    The name of the application or Control Panel item to display.
 
    .EXAMPLE
    Start-ControlPanel -AppName "Network"
 
    .NOTES
    Ensure the application name is correctly specified to find the corresponding Control Panel item.
    #>


    PARAM(
        $AppName
    )

    Show-ControlPanelItem "*$AppName*"
}