Function Show-ProgressBar {
    <#
    .SYNOPSIS
        Displays a progress bar in the console.

    .DESCRIPTION
        A wrapper function for the Write-Progress cmdlet to provide visual feedback for ongoing operations.

    .PARAMETER Activity
        A description of the activity being performed.

    .PARAMETER PercentComplete
        The percentage of the task that is complete, from 0 to 100.

    .EXAMPLE
        Show-ProgressBar -Activity "Processing item 5 of 10" -PercentComplete 50
        This example shows the progress bar at 50% with the specified activity message.
    #>
    [CmdletBinding()]
    param(
        [Parameter(Mandatory=$true)]
        [string]$Activity,

        [Parameter(Mandatory=$true)]
        [int]$PercentComplete
    )
    Write-Progress -Activity $Activity -PercentComplete $PercentComplete
}
