I have just uploaded the new Exchange Monitor version 2.1. The new version contains various bugfixes that have been reported by users. Many thanks at this point to everyone who reported problems. Version 2.1 of the Exchange Monitor now loads the Exchange snapins from the normal PowerShell. This should avoid problems with the task. Also new is a setting in the settings.ini:
If "OnlyCheckIfSMTPPortOpen" is set to "Yes", the system only checks whether port 25 is open on the additional SMTP servers; it no longer checks whether a mail can actually be sent. SPAM filters are often set so that only mail from the Exchange servers is accepted, so the test from another computer fails.
The test mail function has also been slightly improved so that fewer problems should occur during the tests.
At the request of several users, the status of the databases and any copies of them are now also displayed. However, I must admit that this test can still be improved.
I also currently lack test environments, which is why I have marked this version as a beta. If you are using version 2.0, you can back up the current directory and then copy the new version into the existing directory. The Settings.ini must then be adapted accordingly.
It would be nice if we could get as much feedback as possible to further improve the version. Feature requests are also welcome (please send them by e-mail). I plan to put the final version online in about 1 month.
Here is the BETA version:
ex16
Starte Exchange Monitor
Lade Funktionen aus Include-Functions.ps1: Fertig
Lade Einstellungen aus settings.ini: Fertig
Lade Exchange WebServices API 2.2: Fertig
Lade Exchange Snapin:get-itemproperty : Der Pfad „HKLM:\SOFTWARE\Microsoft\ExchangeServer\Setup“ kann nicht gefunden werden, da er nicht vorhanden ist.
In D:\#SYSTEM\Exchange Monitor 2.1\Scripts\Include-ExchangeSnapins.ps1:63 Zeichen:16
+ $repspath = (get-itemproperty HKLM:\SOFTWARE\Microsoft\ExchangeServer\$version …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\…ngeServer\Setup:String) [Get-ItemProperty], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
Fehler
PS D:\#SYSTEM\Exchange Monitor 2.1>
Hallo Marco,
danke für deine Info, klingt sehr plausibel- half jedoch bei mir auch nicht, auch nicht mit der neuesten 2.1 Version :-(
Es erscheint nach wie vor die Meldung „Fehler „
Hallo,
ich hatte den selben Fehler. Das Problem liegt in der Start-ExchangeMonitor.ps1 in Zeile 15-20.
Dort steht:
$functionfile = test-path „$installpath\Include-Functions.ps1“
if ($functionfile)
{
. „$installpath\Include-Functions.ps1“
write-host „`t`tFertig“ -foregroundcolor green
}
Hier fehlt der Verweis auf das Verzeichnis „Scripts“. Das müsste dann so aussehen:
$functionfile = test-path „$installpath\Scripts\Include-Functions.ps1“
if ($functionfile)
{
. „$installpath\Scripts\Include-Functions.ps1“
write-host „`t`tFertig“ -foregroundcolor green
}
Bei mir hats dann funktioniert.
Gruß Marco
Hallo Marco,
vielen Dank für den Hinweis. Ich habe es gerade korrigiert und das Archiv neu hochgeladen.
Gruß, Frank
Hi, ich muss mich entschuldigen, du hattest schon die richtige angegeben. Jedoch ist das Ergebniss nun auch das gleiche:
PS D:\Skripte\Exchange_Monitor_2.1\Exchange Monitor 2.1\Scripts> ..\Include-Functions.ps1
..\Include-Functions.ps1 : Die Benennung „..\Include-Functions.ps1“ wurde nicht als Name eines Cmdlet, einer Funktion,
einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der
Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
+ ..\Include-Functions.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (..\Include-Functions.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Hi Chris,
Da fehlt ein Leerzeichen „. .\Include-Functions.ps1“
In deinem Fall lautet der Aufruf „.\Start-ExchangeMonitor.ps1 -Installpath .\Start-ExchangeMonitor.ps1 -Installpath ‚D:\Skripte\Exchange_Monitor_2.1\Exchange Monitor 2.1′“
Gruss, Frank
Gruss, Frank
Hi,
da kommt folgende Meldung:
..\Include-ExchangeSnapins.ps1 : Die Benennung „..\Include-ExchangeSnapins.ps1“ wurde nicht als Name eines Cmdlet,
einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des
Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
+ ..\Include-ExchangeSnapins.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (..\Include-ExchangeSnapins.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Hoffe ich habe es korrekt aufgerufen:
PS> wechseln zum Ablageort „Scripts“ und dann nur die include Funktion aufrufen:
..\Include-ExchangeSnapins.ps1
ach sorry, das ist normal. Ich meinte die Include-Functions.ps1
Hi Frank,
also ein Reboot half auch nicht :-(
Der Neuinstallierte Exchange Reporter funktioniert tadellos…
Hi, die Funktionsweise ist an de Stelle gleich. Was passiert denn wenn du Die Include Datei manuell aus der Powershell aufrufst? „. .\include-functions.ps1“ ohne Angührungszeichen, mit 2 Punkten?
Hallo, bei mir funktioniert ebenfalls alles problemlos. Ich habe es mit Exchange 2013 und Server 2012 getestet. Geniales Script!!!
Hi Frank,
bei mir läuft es einwandfrei! Vielen Dank für die tolle Arbeit!
VG,
Bernd
Hi, wie ein Kommentar beim Exchange Monitor 2.0 schon gefragt/gemeldet wurde:
nach dem ausführen erhalte ich die Meldung
„Lade Funktion aus Include-Functions.ps1: Fehler“
bitte um Info woran der Fehler liegt, danke!
Hallo, wurde das Script mit dem Parameter -InstallPath aufgerufen?
Gruß, Frank
Hallo Frank,
habe die Powershell (4.0) geöffnet, bin zum Ablalgeort gewechselt und habe die Start-ExchangeMonitor.ps1 -installPath ‚D:\Skripte\ExchangeMonitor‘ aufgerufen, danach kommt die Meldung „Lade Funktion aus Include-Functions.ps1: Fehler“
Habe einen Exchange 2010 unter WinSrv 2008R2
Habe das ganze auch in der EMC getestet mit dem gleichen Ergebnis.
Hi, kannst du das Archiv noch einmal runterladen? Hatte die Version gestern Abend aktualisiert. Die restliche Ordnerstruktur hast du beibehalten?
Hi,
habe eben das neue Archiv heruntergeladen und nur meine settings.ini eingefügt und ausgeführt. Ähnlicher Fehlermeldung:
“Lade Funktion aus Include-Functions.ps1: Fehler “
Die Ordnerstruktur habe ich so belassen wie vorgegeben.
EWS Api ist auch installiert?
Jetzt schon ;-)
Tut dennoch nicht, evtl. ein Server-Neustart nötig?!