RE: SP2 RU3
Thanks everyone for the idea. I used Michael’s script and got the answer I needed. But I will look into these other reporting options. Thanks! jb From: Steve Goodman [mailto:st...@stevieg.org] Sent: Friday, June 22, 2012 4:35 PM To: MS-Exchange Admin Issues Subject: Re: SP2 RU3 I've not used Phil's script myself but heard good things! If you have a virtual environment and use vCheck it's (according to one of my customers) a very useful addition. And given this is the second time in two weeks it's been mentioned i'd better check it out myself :-) Sent from my iPhone On 22 Jun 2012, at 14:43, Randal, Phil phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk wrote: There’s also my vCheck for Exchange plugins based on Alan Renouf’s vCheck, my own scripts, Steve’s script and others. http://www.virtu-al.net/2012/03/22/vcheck-exchange-updated/ I’d advise people to use version 2.1beta4 (not yet uploaded to Alan’s site): http://www.rebee.clara.net/ExchangePlugins-2.1Beta4.zip To make it easy to select plugins, use my Select-Plugins script for vCheck: http://www.rebee.clara.net/blog/archives/2012/03/entry_197.html Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk From: Steve Goodman [mailto:st...@stevieg.org]mailto:[mailto:st...@stevieg.org] Sent: 22 June 2012 12:20 To: MS-Exchange Admin Issues Subject: Re: SP2 RU3 If your looking for something a bit prettier you could check out my Exchange Environment Report which will provide this and some additional info: http://www.stevieg.org/2011/06/exchange-environment-report/ Sent from my iPhone On 21 Jun 2012, at 14:38, Michael B. Smith mich...@smithcons.commailto:mich...@smithcons.com wrote: I didn’t write this original script, I just modified it to handle some obvious errors, but unfortunately I didn’t keep the original author’s byline handy. The UR information is hidden pretty deeply. This script will get it out. Get-ExchangeServer |% { [bool]$known = $false $name= $_.ToString() $version = $_.AdminDisplayVersion.Major if ($version -eq 14) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\AE1D439464EB1B8488741FFA028E291C\\Patches $setup = SOFTWARE\\Microsoft\\ExchangeServer\\v14\\Setup $known = $true } elseif ($version -eq 8) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\Patches $setup = SOFTWARE\\Microsoft\\Exchange\\Setup $known = $true } if( $known ) { $VALUE1 = DisplayName $VALUE2 = Installed $VALUE3 = MsiInstallPath $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey( 'LocalMachine', $name ) $regKey= $reg.OpenSubKey( $setup ) $installPath = ( $regkey.getvalue( $VALUE3 ) | foreach { $_ -replace (:, `$) } ) $binFile = Bin\ExSetup.exe $exSetupVer = ( ( Get-Command \\$name\$installPath$binFilefile:///\\$name\$installPath$binFile ).FileVersionInfo | ForEach { $_.FileVersion } ) $regKey= $reg.OpenSubKey( $key ).GetSubKeyNames() | ForEach { $key\\$_ } $dispName = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE1 ) } ) $instDate = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE2 ) } ) $countmembers = 0 if ($regkey -ne $null) { while ($countmembers -lt $dispName.Count) { $name + , + $dispName[ $countmembers ] + , + $instDate[ $countmembers ].substring( 0, 4 ) + / + $instDate[ $countmembers ].substring( 4, 2 ) + / + $instDate[ $countmembers ].substring( 6, 2 ) + , + $exsetupver $countmembers++ } } else { $name + ,No Rollup Updates are installed,, + $exsetupver } } else { $name + ,Unknown version,, } } From: Jason Benway [mailto:benw...@jsjcorp.com] Sent: Thursday, June 21, 2012 8:49 AM To: MS-Exchange Admin Issues Subject: SP2 RU3 I install SP2 RU3
Re: SP2 RU3
If your looking for something a bit prettier you could check out my Exchange Environment Report which will provide this and some additional info: http://www.stevieg.org/2011/06/exchange-environment-report/ Sent from my iPhone On 21 Jun 2012, at 14:38, Michael B. Smith mich...@smithcons.commailto:mich...@smithcons.com wrote: I didn’t write this original script, I just modified it to handle some obvious errors, but unfortunately I didn’t keep the original author’s byline handy. The UR information is hidden pretty deeply. This script will get it out. Get-ExchangeServer |% { [bool]$known = $false $name= $_.ToString() $version = $_.AdminDisplayVersion.Major if ($version -eq 14) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\AE1D439464EB1B8488741FFA028E291C\\Patches $setup = SOFTWARE\\Microsoft\\ExchangeServer\\v14\\Setup $known = $true } elseif ($version -eq 8) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\Patches $setup = SOFTWARE\\Microsoft\\Exchange\\Setup $known = $true } if( $known ) { $VALUE1 = DisplayName $VALUE2 = Installed $VALUE3 = MsiInstallPath $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey( 'LocalMachine', $name ) $regKey= $reg.OpenSubKey( $setup ) $installPath = ( $regkey.getvalue( $VALUE3 ) | foreach { $_ -replace (:, `$) } ) $binFile = Bin\ExSetup.exe $exSetupVer = ( ( Get-Command \\$name\$installPath$binFile ).FileVersionInfo | ForEach { $_.FileVersion } ) $regKey= $reg.OpenSubKey( $key ).GetSubKeyNames() | ForEach { $key\\$_ } $dispName = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE1 ) } ) $instDate = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE2 ) } ) $countmembers = 0 if ($regkey -ne $null) { while ($countmembers -lt $dispName.Count) { $name + , + $dispName[ $countmembers ] + , + $instDate[ $countmembers ].substring( 0, 4 ) + / + $instDate[ $countmembers ].substring( 4, 2 ) + / + $instDate[ $countmembers ].substring( 6, 2 ) + , + $exsetupver $countmembers++ } } else { $name + ,No Rollup Updates are installed,, + $exsetupver } } else { $name + ,Unknown version,, } } From: Jason Benway [mailto:benw...@jsjcorp.com] Sent: Thursday, June 21, 2012 8:49 AM To: MS-Exchange Admin Issues Subject: SP2 RU3 I install SP2 RU3 for exchange 2010 this weekend it seemed to finish successfully, but the version still shows 14.2 (build 247.5) Looks like I should see a build number of 14.2.309.2 for RU3 So what happened to the RU, did it not install correctly? jb --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist
RE: SP2 RU3
There's also my vCheck for Exchange plugins based on Alan Renouf's vCheck, my own scripts, Steve's script and others. http://www.virtu-al.net/2012/03/22/vcheck-exchange-updated/ I'd advise people to use version 2.1beta4 (not yet uploaded to Alan's site): http://www.rebee.clara.net/ExchangePlugins-2.1Beta4.zip To make it easy to select plugins, use my Select-Plugins script for vCheck: http://www.rebee.clara.net/blog/archives/2012/03/entry_197.html Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk From: Steve Goodman [mailto:st...@stevieg.org] Sent: 22 June 2012 12:20 To: MS-Exchange Admin Issues Subject: Re: SP2 RU3 If your looking for something a bit prettier you could check out my Exchange Environment Report which will provide this and some additional info: http://www.stevieg.org/2011/06/exchange-environment-report/ Sent from my iPhone On 21 Jun 2012, at 14:38, Michael B. Smith mich...@smithcons.commailto:mich...@smithcons.com wrote: I didn't write this original script, I just modified it to handle some obvious errors, but unfortunately I didn't keep the original author's byline handy. The UR information is hidden pretty deeply. This script will get it out. Get-ExchangeServer |% { [bool]$known = $false $name= $_.ToString() $version = $_.AdminDisplayVersion.Major if ($version -eq 14) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\AE1D439464EB1B8488741FFA028E291C\\Patches $setup = SOFTWARE\\Microsoft\\ExchangeServer\\v14\\Setup $known = $true } elseif ($version -eq 8) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\Patches $setup = SOFTWARE\\Microsoft\\Exchange\\Setup $known = $true } if( $known ) { $VALUE1 = DisplayName $VALUE2 = Installed $VALUE3 = MsiInstallPath $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey( 'LocalMachine', $name ) $regKey= $reg.OpenSubKey( $setup ) $installPath = ( $regkey.getvalue( $VALUE3 ) | foreach { $_ -replace (:, `$) } ) $binFile = Bin\ExSetup.exe $exSetupVer = ( ( Get-Command \\$name\$installPath$binFilefile:///\\$name\$installPath$binFile ).FileVersionInfo | ForEach { $_.FileVersion } ) $regKey= $reg.OpenSubKey( $key ).GetSubKeyNames() | ForEach { $key\\$_ } $dispName = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE1 ) } ) $instDate = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE2 ) } ) $countmembers = 0 if ($regkey -ne $null) { while ($countmembers -lt $dispName.Count) { $name + , + $dispName[ $countmembers ] + , + $instDate[ $countmembers ].substring( 0, 4 ) + / + $instDate[ $countmembers ].substring( 4, 2 ) + / + $instDate[ $countmembers ].substring( 6, 2 ) + , + $exsetupver $countmembers++ } } else { $name + ,No Rollup Updates are installed,, + $exsetupver } } else { $name + ,Unknown version,, } } From: Jason Benway [mailto:benw...@jsjcorp.com] Sent: Thursday, June 21, 2012 8:49 AM To: MS-Exchange Admin Issues Subject: SP2 RU3 I install SP2 RU3 for exchange 2010 this weekend it seemed to finish successfully, but the version still shows 14.2 (build 247.5) Looks like I should see a build number of 14.2.309.2 for RU3 So what happened to the RU, did it not install correctly? jb --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http
Re: SP2 RU3
I've not used Phil's script myself but heard good things! If you have a virtual environment and use vCheck it's (according to one of my customers) a very useful addition. And given this is the second time in two weeks it's been mentioned i'd better check it out myself :-) Sent from my iPhone On 22 Jun 2012, at 14:43, Randal, Phil phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk wrote: There’s also my vCheck for Exchange plugins based on Alan Renouf’s vCheck, my own scripts, Steve’s script and others. http://www.virtu-al.net/2012/03/22/vcheck-exchange-updated/ I’d advise people to use version 2.1beta4 (not yet uploaded to Alan’s site): http://www.rebee.clara.net/ExchangePlugins-2.1Beta4.zip To make it easy to select plugins, use my Select-Plugins script for vCheck: http://www.rebee.clara.net/blog/archives/2012/03/entry_197.html Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk From: Steve Goodman [mailto:st...@stevieg.org] Sent: 22 June 2012 12:20 To: MS-Exchange Admin Issues Subject: Re: SP2 RU3 If your looking for something a bit prettier you could check out my Exchange Environment Report which will provide this and some additional info: http://www.stevieg.org/2011/06/exchange-environment-report/ Sent from my iPhone On 21 Jun 2012, at 14:38, Michael B. Smith mich...@smithcons.commailto:mich...@smithcons.com wrote: I didn’t write this original script, I just modified it to handle some obvious errors, but unfortunately I didn’t keep the original author’s byline handy. The UR information is hidden pretty deeply. This script will get it out. Get-ExchangeServer |% { [bool]$known = $false $name= $_.ToString() $version = $_.AdminDisplayVersion.Major if ($version -eq 14) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\AE1D439464EB1B8488741FFA028E291C\\Patches $setup = SOFTWARE\\Microsoft\\ExchangeServer\\v14\\Setup $known = $true } elseif ($version -eq 8) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\Patches $setup = SOFTWARE\\Microsoft\\Exchange\\Setup $known = $true } if( $known ) { $VALUE1 = DisplayName $VALUE2 = Installed $VALUE3 = MsiInstallPath $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey( 'LocalMachine', $name ) $regKey= $reg.OpenSubKey( $setup ) $installPath = ( $regkey.getvalue( $VALUE3 ) | foreach { $_ -replace (:, `$) } ) $binFile = Bin\ExSetup.exe $exSetupVer = ( ( Get-Command \\$name\$installPath$binFilefile:///\\$name\$installPath$binFile ).FileVersionInfo | ForEach { $_.FileVersion } ) $regKey= $reg.OpenSubKey( $key ).GetSubKeyNames() | ForEach { $key\\$_ } $dispName = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE1 ) } ) $instDate = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE2 ) } ) $countmembers = 0 if ($regkey -ne $null) { while ($countmembers -lt $dispName.Count) { $name + , + $dispName[ $countmembers ] + , + $instDate[ $countmembers ].substring( 0, 4 ) + / + $instDate[ $countmembers ].substring( 4, 2 ) + / + $instDate[ $countmembers ].substring( 6, 2 ) + , + $exsetupver $countmembers++ } } else { $name + ,No Rollup Updates are installed,, + $exsetupver } } else { $name + ,Unknown version,, } } From: Jason Benway [mailto:benw...@jsjcorp.com] Sent: Thursday, June 21, 2012 8:49 AM To: MS-Exchange Admin Issues Subject: SP2 RU3 I install SP2 RU3 for exchange 2010 this weekend it seemed to finish successfully, but the version still shows 14.2 (build 247.5) Looks like I should see a build number of 14.2.309.2 for RU3 So what happened to the RU, did it not install correctly? jb --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read
RE: SP2 RU3
I didn't write this original script, I just modified it to handle some obvious errors, but unfortunately I didn't keep the original author's byline handy. The UR information is hidden pretty deeply. This script will get it out. Get-ExchangeServer |% { [bool]$known = $false $name= $_.ToString() $version = $_.AdminDisplayVersion.Major if ($version -eq 14) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\AE1D439464EB1B8488741FFA028E291C\\Patches $setup = SOFTWARE\\Microsoft\\ExchangeServer\\v14\\Setup $known = $true } elseif ($version -eq 8) { $key = SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\461C2B4266EDEF444B864AD6D9E5B613\\Patches $setup = SOFTWARE\\Microsoft\\Exchange\\Setup $known = $true } if( $known ) { $VALUE1 = DisplayName $VALUE2 = Installed $VALUE3 = MsiInstallPath $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey( 'LocalMachine', $name ) $regKey= $reg.OpenSubKey( $setup ) $installPath = ( $regkey.getvalue( $VALUE3 ) | foreach { $_ -replace (:, `$) } ) $binFile = Bin\ExSetup.exe $exSetupVer = ( ( Get-Command \\$name\$installPath$binFile ).FileVersionInfo | ForEach { $_.FileVersion } ) $regKey= $reg.OpenSubKey( $key ).GetSubKeyNames() | ForEach { $key\\$_ } $dispName = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE1 ) } ) $instDate = [array] ( $regkey | % { $reg.OpenSubKey( $_ ).getvalue( $VALUE2 ) } ) $countmembers = 0 if ($regkey -ne $null) { while ($countmembers -lt $dispName.Count) { $name + , + $dispName[ $countmembers ] + , + $instDate[ $countmembers ].substring( 0, 4 ) + / + $instDate[ $countmembers ].substring( 4, 2 ) + / + $instDate[ $countmembers ].substring( 6, 2 ) + , + $exsetupver $countmembers++ } } else { $name + ,No Rollup Updates are installed,, + $exsetupver } } else { $name + ,Unknown version,, } } From: Jason Benway [mailto:benw...@jsjcorp.com] Sent: Thursday, June 21, 2012 8:49 AM To: MS-Exchange Admin Issues Subject: SP2 RU3 I install SP2 RU3 for exchange 2010 this weekend it seemed to finish successfully, but the version still shows 14.2 (build 247.5) Looks like I should see a build number of 14.2.309.2 for RU3 So what happened to the RU, did it not install correctly? jb --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist