Get-YTdlpVersion
SYNOPSIS
Compares the local yt-dlp version to the latest stable version
SYNTAX
Get-YTdlpVersion [[-ExecutablePath] <String>] [-SkipOnlineCheck] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION
The Get-YTdlpVersion function gets the version of the locally installed yt-dlp, gets the version of the latest stable yt-dlp release from GitHub, & compares them.
The status property will be one of: NotInstalled - yt-dlp could not be found UpToDate - The local version is the same as, or newer than, the latest stable release UpdateAvailable - A newer stable release is available Unknown - The versions could not be compared, for example when offline
EXAMPLES
EXAMPLE 1
Get-YTdlpVersion
Returns the installed version, the latest stable version, & whether an update is available
EXAMPLE 2
(Get-YTdlpVersion).UpdateAvailable
Returns true if a newer stable version of yt-dlp has been released
EXAMPLE 3
Get-YTdlpVersion -SkipOnlineCheck
Returns only the local version information without contacting GitHub
PARAMETERS
-ExecutablePath
Defines an explicit path to the yt-dlp executable
By default yt-dlp is found using the PATH & the default winget locations
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SkipOnlineCheck
Only get the local version & do not contact GitHub
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
N/A
OUTPUTS
Celerium.YTdlp.Version
NOTES
Copyright 1990-2026 Celerium
NAME: Get-YTdlpVersion Type: Public
AUTHOR: David Schulte
DATE: 2025-11-11
EMAIL: celerium@Celerium.org
TODO: