Monday, 17 June 2013

Copy assembly file from GAC to the File System

How to get download assemblies / dll from GAC using powershell script:

Paste below code to copy assembly dll from global assembly cache using powershell script command ( ps script ) to your command editor window to get download.

 Source code :

dir C:\Windows\Assembly -Recurse -Filter "Solutionname.dll" | foreach { copy $_.FullName C:\assemblies }

Solutionname - indicates project dll.