Just a quick powershell script to start the year.
I recently needed to audit the version of adobe flash on the machines a script was running. This code was originally written for visual studio but translates well to powershell.
to retrieve the version of adobe flash on the local machine, use get-adobeflashversion. The code for the get-adobeflashversion can be found below:
[sourcecode language=”Powershell”]
function get-adobeflashversion{
try{
$flashobject = new-object -ComObject "shockwaveflash.shockwaveflash"
$version=(($flashobject.getvariable("`$version")).replace(",",".")).trimstart("WIN ")
}
Catch{
write-warning "Could not create Com Object, are you sure Adobe Flash is installed?"
}
return $version
}
[/sourcecode]


A pet peeve of mine are context menu extensions… Why software vendors decide to include non optional context menu addons are besides me! A good example of this would be Adobe.