- Accueil
- Info légales
- Aide (FAQ)
- Les tags de ce site
- Bloc note
- Articles techniques
- Notes system
- Divers articles
- Drupal
- Notes ITIL 2007
- Notes MS
- Dans le quartier...
- Emploi
- Recettes de cuisine et adresses gourmandes
- mes applis ubuntu préferées
- Divers acronymes du monde social
- Internet 2018
- P2 meublé à louer - quartier du Poteau 75018
- apcos - réseaux sociaux et outils
- Articles techniques
- Divers liens
- Fun
- Mon CV IT
- Nouveautés
PowerShell Exchange 2010 - gestion des services
Source: http://careexchange.in/managing-microsoft-exchange-services-with-windows...
Mettre tous services en disable (statup): Get-Service | where{$_.Name –Like ‘MSExchange*’} | set-Service –StartupType ‘Disabled’
auto Get-Service | where{$_.Name –Like ‘MSExchange*’} | set-Service –StartupType ‘Automatic’
Stopper tous services: Get-Service | where{$_.Name –Like ‘MSExchange*’} | stop-Service –Force
Lancer " Get-Service | where{$_.Name –Like ‘MSExchange*’} | start-Service
Voir état Get-Service | where{$_.Name –Like ‘MSExchange*’}
stop | start | notes |
---|---|---|
Stop-Service MSExchangeAB Stop-Service MSExchangeADTopology Stop-Service MSExchangeAntispamUpdate Stop-Service MSExchangeEdgeSync Stop-Service MSExchangeFBA Stop-Service MSExchangeFDS Stop-Service MSExchangeIS Stop-Service MSExchangeMailboxAssistants Stop-Service MSExchangeMailboxReplication Stop-Service MSExchangeMailSubmission Stop-Service MSExchangeProtectedServiceHost Stop-Service MSExchangeRepl Stop-Service MSExchangeRPC Stop-Service MSExchangeSA Stop-Service MSExchangeSearch Stop-Service MSExchangeServiceHost Stop-Service MSExchangeThrottling Stop-Service MSExchangeTransport Stop-Service MSExchangeTransportLogSearch |
Start-Service MSExchangeAB Start-Service MSExchangeADTopology Start-Service MSExchangeAntispamUpdate Start-Service MSExchangeEdgeSync Start-Service MSExchangeFBA Start-Service MSExchangeFDS Start-Service MSExchangeIS Start-Service MSExchangeMailboxAssistants Start-Service MSExchangeMailboxReplication Start-Service MSExchangeMailSubmission Start-Service MSExchangeProtectedServiceHost Start-Service MSExchangeRepl Start-Service MSExchangeRPC Start-Service MSExchangeSA Start-Service MSExchangeSearch Start-Service MSExchangeServiceHost Start-Service MSExchangeThrottling Start-Service MSExchangeTransport Start-Service MSExchangeTransportLogSearch |
Address Book donne info topo AD à divers services Exch |
Voir aussi script http://therealshrimp.blogspot.fr/2010/03/restarting-exchange-2010-services.html
Checks
Vérif si les services requis tournent : Test-Servicehealth
Maibox montées ? Get-MailboxDatabase ; La db répond aux request MAPI ? Test-MapiConnectivity ; emails passent entre 2 srv? Test-MailFlow
Get-MailboxDatabaseCopyStatus (pour members DAG) pour vérifierle statut des copies de la db, queues, et indexes de contenu.
Services non lancés qui sont en lancement auto (avec WMI)
Get-WmiObject -Class Win32_Service -Filter "StartMode='Auto' AND State='Stopped'" | sort DisplayName | Format-Table DisplayName, StartMode, State
(source: http://therealshrimp.blogspot.fr/2012/02/powershell-get-service-status-c...)