Skip to content

Instantly share code, notes, and snippets.

@JeremyTBradshaw
Last active October 4, 2023 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeremyTBradshaw/90019026750ea729b88f375dea528b8c to your computer and use it in GitHub Desktop.
Save JeremyTBradshaw/90019026750ea729b88f375dea528b8c to your computer and use it in GitHub Desktop.
Fix Exchange disabled services after failed SU/CU installs
@"
HostControllerService
MSComplianceAudit
MSExchangeADTopology
MSExchangeAntispamUpdate
MSExchangeCompliance
MSExchangeDagMgmt
MSExchangeDelivery
MSExchangeDiagnostics
MSExchangeEdgeSync
MSExchangeFastSearch
MSExchangeFrontEndTransport
MSExchangeHM
MSExchangeHMRecovery
MSExchangeIS
MSExchangeMailboxAssistants
MSExchangeMailboxReplication
MSExchangeRepl
MSExchangeRPC
MSExchangeServiceHost
MSExchangeSubmission
MSExchangeThrottling
MSExchangeTransport
MSExchangeTransportLogSearch
SearchExchangeTracing
"@ -split "`n" | % { Set-Service $_ -StartupType Automatic }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment