external help file: Containers-Toolkit-help.xml Module Name: Containers-Toolkit online version: schema: 2.0.0
Gets the latest Windows CNI version number.
Get-WinCNILatestVersion [-Repo <String>]
Uses GitHub API to get the latest Windows CNI plugin release version from the microsoft/windows-container-networking repository or containernetworking/plugins repository.
This returns a string of the latest release version of Windows CNI, e.g., v1.2.0.
PS C:\> Get-WinCNILatestVersion
v1.2.0Source repository for the CNI plugins. Accepted values are 'microsoft/windows-container-networking' and 'containernetworking/plugins'.
Type: String
Parameter Sets: (All)
Aliases: SourceRepo, Repository
Required: False
Position: Named
Default value: microsoft/windows-container-networking
Accept pipeline input: False
Accept wildcard characters: FalseThis is a string of the latest CNI plugins release version.