I have a large number of assemblies to un-register from the GAC, I'd rather not have to go through them one at a time.
Is it possible to use wildcards in the gacutil
?
(or, a batch\\Powershell script)
I am the author of an opensource and free to use PowerShell module called PowerShell GAC which can unregister a large number of assemblies from the GAC. You could use the following command if you run it as administrator.
Get-GacAssembly -Name SomeAssembly* | Remove-GacAssembly
Filtering on assembly version is also possible using the -Version parameter
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.