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:
$flashobject = new-object -ComObject "shockwaveflash.shockwaveflash"
write-warning "Could not create Com Object, are you sure Adobe Flash is installed?"
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.
when right clicking on an office document Adobe decided “Combine supported files in acrobat” to be we all must have, fine in the wild… but not so good in a shared desktop environment.
To remove this from your Citrix environment / Desktop simply run this command:
REGSVR32 /u "C:Program FilesAdobeAcrobat 9.0Acrobat ElementsContextMenu.dll.
If you also wish to remove the New > file type associations that Adobe decide to push in, heres a script to do so:
REG DELETE HKEY_CLASSES_ROOT.xdpAcroExch.XDPDocShellNew /f
REG DELETE HKEY_CLASSES_ROOT.xdpShellNew /f
With the move to 64 bit platforms, a new dll has been put in place:
C:Program Files (x86)AdobeAcrobat 9.0Acrobat Elementscontextmenu64.dll
This dll add’s the following items to the context menu:
- Convert to Adobe PDF
- Convert to Adobe PDF and Email.
If you wish to remove these, run the following command:
REGSVR32 /u "C:Program Files (x86)AdobeAcrobat 9.0Acrobat ElementsContextMenu64.dll"