[Windows] Remove unused code (#13606)

This commit is contained in:
v-AndriiKhyliuk
2026-02-03 10:53:31 +01:00
committed by GitHub
parent e393c898d5
commit 7a8b98c725
9 changed files with 0 additions and 140 deletions
@@ -7,14 +7,6 @@ function Split-TableRowByColumns {
return $Row.Split("|") | ForEach-Object { $_.trim() }
}
function Get-AndroidSDKRoot {
param(
[string] $ComponentName
)
$path = Join-Path $env:ANDROID_HOME $ComponentName
return "Location $path"
}
function Build-AndroidTable {
$packageInfo = Get-AndroidInstalledPackages
return @(
@@ -247,10 +247,6 @@ function Get-PowerShellModules {
return $result
}
function Get-CachedDockerImages {
return (docker images --digests --format "* {{.Repository}}:{{.Tag}}").Split("*") | Where-Object { $_ }
}
function Get-CachedDockerImagesTableData {
$allImages = docker images --digests --format "*{{.Repository}}:{{.Tag}}|{{.Digest}} |{{.CreatedAt}}"
if (-not $allImages) {
@@ -291,11 +287,6 @@ function Get-YAMLLintVersion {
yamllint --version | Get-StringPart -Part 1
}
function Get-BizTalkVersion {
$bizTalkReg = Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\BizTalk Server\3.0"
return [ToolVersionNode]::new($bizTalkReg.ProductName, $bizTalkReg.ProductVersion)
}
function Get-PipxVersion {
pipx --version
}
@@ -153,11 +153,6 @@ function Get-PackerVersion {
return $packerVersion
}
function Get-ParcelVersion {
$parcelVersion = parcel --version
return "$parcelVersion"
}
function Get-PulumiVersion {
return (pulumi version).TrimStart("v")
}
@@ -233,12 +228,6 @@ function Get-AlibabaCLIVersion {
return $alicliVersion
}
function Get-CloudFoundryVersion {
$(cf version) -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
$cfVersion = $Matches.Version
return $cfVersion
}
function Get-7zipVersion {
(7z | Out-String) -match "7-Zip (?<version>\d+\.\d+\.?\d*)" | Out-Null
$version = $Matches.Version
@@ -263,10 +252,6 @@ function Get-StackVersion {
return $stackVersion
}
function Get-GoogleCloudCLIVersion {
return (((cmd /c "gcloud --version") -match "Google Cloud SDK") -replace "Google Cloud SDK").Trim()
}
function Get-ServiceFabricSDKVersion {
$serviceFabricSDKVersion = Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Service Fabric\' -Name FabricVersion
return $serviceFabricSDKVersion