Public/Get-Streams.ps1

<#
    .DESCRIPTION
    Shows streams for a specified file
 
    .PARAMETER Video
    Specify Video Input
 
    .Example
    Get-Streams -video .\file.mp4
 
    .Link
    https://github.com/TheTaylorLee/AdminToolbox
#>


function Get-Streams {

    [cmdletbinding()]
    param (
        [Parameter(Mandatory = $true)]$video
    )

    if ($env:FFToolsSource -and $env:FFToolsTarget) {
        ffprobe $video -hide_banner
    }

    else {
        Write-Warning "You must first run Set-FFToolsVariables! This is only required once."
    }
}