Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 365 Bytes
# Returns Dell Command Update Version
# Return Type: String
# Execution Context: System
$DCU=(Get-ItemProperty "HKLM:\SOFTWARE\Dell\UpdateService\Clients\CommandUpdate\Preferences\Settings" -ErrorVariable err -ErrorAction SilentlyContinue)
if ($err.Count -eq 0) {
$DCU = $DCU.ProductVersion
}else{
$DCU = "Dell Command | Update Not Installed"
}
write-output $DCU
You can’t perform that action at this time.