$names = 'System.Memory','System.Numerics.Vectors','System.Runtime.CompilerServices.Unsafe','System.Resources.Extensions','Smart.CustomComponents','System.Data.SQLite','WeifenLuo.WinFormsUI.Docking','WeifenLuo.WinFormsUI.Docking.ThemeVS2015' foreach ($n in $names) { $p = Join-Path 'C:\Program Files (x86)\SharpDevelop\5.2\bin' ($n + '.dll') $an = [System.Reflection.AssemblyName]::GetAssemblyName($p) Write-Output ($an.FullName) }