try out this one
Foreach ($hostnamein ((Get-SmHost).Hostname)) { (get-smresources-HostName$hostname-PluginCodeSCSQL) |Select-Object-Propertydbname,dbversion}
then you can redirect the out in a .csv file..
hope that helps in getting what you need 🙂
try out this one
Foreach ($hostnamein ((Get-SmHost).Hostname)) { (get-smresources-HostName$hostname-PluginCodeSCSQL) |Select-Object-Propertydbname,dbversion}
then you can redirect the out in a .csv file..
hope that helps in getting what you need 🙂