Pour gérer les services Windows de Lync 2010 pour pouvez utiliser les commandes suivantes
- Get-CsWindowsService [-Name <String>] [-ComputerName <String>] [-ExcludeActivityLevel <SwitchParameter>] [-Report <String>]
- Start-CsWindowsService [-Name <String>] [-ComputerName <String>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-NoWait <SwitchParameter>] [-Report <String>] [-WhatIf [<SwitchParameter>]]
- Start-CsWindowsService [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-InputObject <NTService>] [-NoWait <SwitchParameter>] [-Report <String>] [-WhatIf [<SwitchParameter>]]
- Stop-CsWindowsService [-Name <String>] [-ComputerName <String>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-Graceful <SwitchParameter>] [-NoWait <SwitchParameter>] [-Report <String>] [-WhatIf [<SwitchParameter>]]
- Stop-CsWindowsService [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-Graceful <SwitchParameter>] [-InputObject <NTService>] [-NoWait <SwitchParameter>] [-Report <String>] [-WhatIf [<SwitchParameter>]]
Voici un petit exemple
REDEMARRER LES SERVICES LYNC 2010
Les deux commandes powerShell suivantes permettent de redémarrer les services
Les commandes prennent un peu de temps à l’exécution mais fonctionne correctement
- Get-CsWindowsService | Stop-CsWindowsService
- Get-CsWindowsService | Start-CsWindowsService
LISTER LES SERVICES LYNC QUI NE SONT PAS EN FONCTIONNEMENT
Get-CsWindowsService | Where-Object {$_.Status -ne « Running »}
OBTENIR DES INFORMATIONS COMPLEMENTAIRES SUR LES SERVICES
En utilisant le suffixe | Fl de la commande Get-CsWindows Service vous devriez des informations complémentaires et notamment leurs statuts
- Name : MASTER
- DisplayName : Agent réplicateur maître Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {}
- CanPauseAndContinue : False
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : REPLICA
- DisplayName : Agent réplicateur de réplicas Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {}
- CanPauseAndContinue : False
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCSRV
- DisplayName : Serveur principal Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : False
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCATS
- DisplayName : Service de test audio Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {}
- CanPauseAndContinue : False
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCIMMCU
- DisplayName : Conférence de messagerie instantanée Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCDATAMCU
- DisplayName : Conférence Web Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCAVMCU
- DisplayName : Conférence audio/vidéo Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCASMCU
- DisplayName : Partage d’application Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCMEDSRV
- DisplayName : Médiation Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : RTCMEETINGMCU
- DisplayName : Compatibilité de la conférence Web Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {KeyIso}
- CanPauseAndContinue : True
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
- Name : FTA
- DisplayName : Agent de transfert de fichiers Lync Server
- Status : Running
- DependentServices : {}
- ServicesDependedOn : {}
- CanPauseAndContinue : False
- CanShutdown : True
- CanStop : True
- ServiceType : Win32OwnProcess
Cordialement
Laurent TERUIN