I know if I run this command:
$DLLPath = "C:\Windows\winsxs\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.762_none_11ecb0ab9b2caf3c\ATL80.dll" (Get-Item $DLLPath).VersionInfo.FileVersion
It will tell me the version off: ATL80.dll
Is it possible to do a search in the C:Windows\winsxs and find any files with a certain version? For example, if ATL80.DLL has version 12345, I want to find any other .dlls in the winxsx that also have the same version.
I thought: select-string would do it but I am not getting the syntax right or there is another way.