[[:win|{{ :WindowsLogo.png?40|}}]] ===== CMD-Lets Exchange 2016 ===== ==== Analyse-Tools ==== === Get-ServerHealth === [[https://docs.microsoft.com/en-us/powershell/module/exchange/server-health-and-performance/get-serverhealth?view=exchange-ps|Get-ServerHealth]] [PS] C:\Windows\system32>Get-ServerHealth | Where {$_.AlertValue -eq "UnHealthy"} Cmdlet Get-ServerHealth an der Befehlspipelineposition 1 Geben Sie Werte für die folgenden Parameter an: Identity: MTA-7 Server State Name TargetResource HealthSetName AlertValue ServerComp onent ------ ----- ---- -------------- ------------- ---------- ---------- MTA-7 NotApplicable ActiveSyncCTPMonitor ActiveSync ActiveSync Unhealthy None MTA-7 NotApplicable RestDeepTestMonitor MSExchangeRestApp... Rest.Protocol Unhealthy None MTA-7 NotApplicable NetworkAdapterRss... Network Unhealthy None === Test-ServerHealth === [[https://docs.microsoft.com/en-us/powershell/module/exchange/server-health-and-performance/test-servicehealth?view=exchange-ps|Test-ServerHealth]] [PS] C:\Windows\system32>Test-ServiceHealth Role : Postfachserverrolle RequiredServicesRunning : True ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS, MSExchangeMailboxAssistants, MSExchangeRepl, MSExchangeRPC, MSExchangeServiceHost, MSExchangeSubmission, MSExchangeThrottling, MSExchangeTransportLogSearch, W3Svc, WinRM} ServicesNotRunning : {} Role : Clientzugriffs-Serverrolle RequiredServicesRunning : True ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeMailboxReplication, MSExchangeRPC, MSExchangeServiceHost, W3Svc, WinRM} ServicesNotRunning : {} Role : Unified Messaging-Serverrolle RequiredServicesRunning : True ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeServiceHost, MSExchangeUM, W3Svc, WinRM} ServicesNotRunning : {} Role : Hub-Transport-Serverrolle RequiredServicesRunning : True ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeEdgeSync, MSExchangeServiceHost, MSExchangeTransport, MSExchangeTransportLogSearch, W3Svc, WinRM} ServicesNotRunning : {}