Hi
I have this script but I need to modify it to display data if the system is x32.# It's easier to have file path in a variable
$dll = "\\$system\c`$\Windows\SysWOW64\file.dll"
# Is the DLL there?
if ( Test-Path $dll){
# Yup, get the version info
$ver = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($dll).FileVersion
# Write file path and version into a file.
Add-Content -path C:\results.csv "$dll,$ver"
}
}