I saw this little but nice PowerShell script and just want to show it.
It’s a simple way to see how many days left it is on the eval Opsmgr 2007 R2 ends.
$InstallDate = get-managementserver | where {$_.IsRootManagementServer -eq “True”} | select InstallTime
Write-host “RMS is installed on: ” $InstallDate.InstallTime
$InstallDate2 = $InstallDate.InstallTime
Write-host “OpsMgr Eval ends on: ” $InstallDate2.AddDays(180)
For more info, look at Stefan Strangers blog post here:
http://blogs.technet.com/stefan_stranger/archive/2009/06/24/when-does-my-opsmgr-2007-r2-eval-versions-ends.aspx
No related posts.